#A640BB
A color in the Purple, Crimson, Magenta family
#a640bb is a color in the Purple, Crimson, Magenta family: RGB(166, 64, 187), HSL(290°, 49%, 49%), CMYK(11%, 66%, 0%, 27%). Closest named color: darkorchid. Contrast is 5.16:1 on white and 4.07:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #a640bb |
|---|---|
| RGB | rgb(166 64 187) |
| RGB (legacy) | rgb(166, 64, 187) |
| RGB % | rgb(65% 25% 73%) |
| HSL | hsl(290 49% 49%) |
| HSV / HSB | hsv(290, 66%, 73%) |
| HWB | hwb(290 25% 27%) |
| CMYK | cmyk(11%, 66%, 0%, 27%) |
| CIELAB (D50) | lab(45.87 55.15 -45.74) |
| LCH | lch(45.87 71.65 320.33) |
| OKLab | oklab(0.5611 0.1542 -0.1277) |
| OKLCH | oklch(0.5611 0.2002 320.37) |
| Decimal | 10895547 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | darkorchid ΔE 4.7 |
| Closest web-safe color | #9933cc |
| Hue | 290° |
| Saturation (HSL / HSV) | 49% / 66% |
| Lightness (HSL) | 49% |
| Brightness or Value (HSV) | 73% |
| Luminance (Rec.601 / Rec.709) | 43% / 37% |
| Relative luminance (WCAG) | 0.1536 |
| Red / Green / Blue | 166 / 64 / 187 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
5.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 74.7 / -27 · As background with white / black text: Lc -80.1 / 29.4
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #a640bb;
--color-brand-oklch: oklch(56.11% 0.2002 320.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 64 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a640bb] text-[#a640bb] border-[#a640bb]">