顏色命名
顏色名稱查找器
貼上任意顏色,從約 300 個 CSS 與設計常用顏色名中找到最接近的名稱。
Lower ΔE means a closer perceptual match in OKLab.
Closest name
blueviolet
#8A2BE2
CSS named color
Nearby matches
How to find the closest color name
Paste any color
Use HEX, RGB, HSL, HSV, CMYK, OKLab, OKLCH, or a CSS keyword. The shared parser converts it to RGB before matching.
Read the closest match
The large card shows the best name, its reference HEX, and a ΔE score. Smaller scores mean a closer visual match.
Compare nearby options
Use the nearby list when the top name is technically close but the project vocabulary wants a different family label.
Perceptual matching
What closest means in this tool
A naive color-name finder might subtract red, green, and blue channels directly. That is simple, but RGB channel distance does not match visual distance. Ten points of blue can matter more in one part of the gamut than ten points of red in another. This is why RGB nearest-neighbor tools sometimes call a muted purple "gray" or a soft green "beige".
This finder converts your input and every dictionary entry to OKLab, then computes ΔE as the distance between the two points. OKLab was designed so numeric distance tracks perceived difference more closely than RGB. It is still not a full human naming model, but it gives better practical results for product designers, front-end developers, and brand teams.
The dictionary is intentionally a first-shipping set of about 300 names. It includes all 147 CSS color keywords and a curated extension of common design terms such as cream, charcoal, periwinkle, sage, blush, terracotta, saffron, and wine. That keeps the bundle small while covering the words people actually use in design reviews.
Why naming colors matters
Color names are a collaboration layer. A designer can say "#C9A9A6", but a stakeholder remembers "dusty rose". A token named `surface-muted-rose` is easier to review than a raw value hidden in a component. A bug report that says "the sage badge is too light" is easier to triage than one that quotes three RGB channels.
Naming also helps design systems mature. Early projects often start with exact colors and no semantic structure. As the system grows, teams need aliases for brand, status, chart, category, and surface roles. A nearest-name lookup can suggest a shared vocabulary, then the exact HEX remains the source of truth in code.
The key is to avoid confusing names with precision. Names are labels. Values are specifications. Use this tool to pick a label that people understand, then copy the HEX into your tokens, CSS variables, Figma styles, or implementation notes.