#A67DFE
A color in the Violet family
#a67dfe is a color in the Violet family: RGB(166, 125, 254), HSL(259°, 98%, 74%), CMYK(35%, 51%, 0%, 0%). Closest named color: mediumpurple. Contrast is 3.01:1 on white and 6.99:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #a67dfe |
|---|---|
| RGB | rgb(166 125 254) |
| RGB (legacy) | rgb(166, 125, 254) |
| RGB % | rgb(65% 49% 100%) |
| HSL | hsl(259 98% 74%) |
| HSV / HSB | hsv(259, 51%, 100%) |
| HWB | hwb(259 49% 0%) |
| CMYK | cmyk(35%, 51%, 0%, 0%) |
| CIELAB (D50) | lab(60.95 37.14 -59.58) |
| LCH | lch(60.95 70.21 301.94) |
| OKLab | oklab(0.6867 0.0805 -0.1665) |
| OKLCH | oklch(0.6867 0.185 295.81) |
| Decimal | 10911230 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | mediumpurple ΔE 6.6 |
| Closest web-safe color | #9966ff |
| Hue | 259° |
| Saturation (HSL / HSV) | 98% / 51% |
| Lightness (HSL) | 74% |
| Brightness or Value (HSV) | 100% |
| Luminance (Rec.601 / Rec.709) | 60% / 56% |
| Relative luminance (WCAG) | 0.2993 |
| Red / Green / Blue | 166 / 125 / 254 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
3.01:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.99:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 56.5 / -45.3 · As background with white / black text: Lc -61.9 / 47.5
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: #a67dfe;
--color-brand-oklch: oklch(68.67% 0.185 295.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 125 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67dfe] text-[#a67dfe] border-[#a67dfe]">