#A866F2#A866F2
#A866F2 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.204 H 302.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A866F2 |
|---|---|
| RGB | rgb(168, 102, 242) |
| HSL | hsl(268, 84%, 67%) |
| HSV | hsv(268, 58%, 95%) |
| CMYK | cmyk(30.6%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(56.33, 53.08, -60.69) |
| CIE-LCH | lch(56.33, 80.63, 311.17°) |
| OKLab | oklab(64.61% 0.1108 -0.1717) |
| OKLCH | oklch(64.61% 0.204 302.8) |
| XYZ | xyz(36.9232, 24.2384, 86.7204) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.84
Light Urple
#B36FF6
ΔE00 3.05
Lightish Purple
#A552E6
ΔE00 5.12
Easter Purple
#C071FE
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 5.23
Mediumpurple
#9370DB
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866F2 #B0F266
analogous
#666AF2 #A866F2 #EE66F2
triadic
#A866F2 #F2A866 #66F2A8
tetradic
#A866F2 #F2666A #B0F266 #66F2EE
square
#A866F2 #F2666A #B0F266 #66F2EE
split-complementary
#A866F2 #F2EE66 #6AF266
monochromatic
#6911CC #882EED #A866F2 #C89EF7 #E8D7FC
Accessibility & contrast
On white
3.59
#A866F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#A866F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866F2
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866F2 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2486F7
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#9A82A2
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a866f2; /* rgb */ color: rgb(168, 102, 242); /* oklch */ color: oklch(64.6% 0.204 302.8);
Tailwind
colors: {
custom: {
50: '#c694f7',
500: '#a866f2',
950: '#000000',
},
}SCSS
$custom: #a866f2; $custom-light: #c694f7; $custom-dark: #000000;
JSON
{
"hex": "#a866f2",
"rgb": {
"r": 168,
"g": 102,
"b": 242
},
"hsl": {
"h": 268.286,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.64608,
"c": 0.20429,
"h": 302.8
},
"luminance": 0.24238
}Semantic roles & 50–950 ramp
primary
#A866F2
secondary
#DBF0C4
accent
#E10579
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85