#A866DF#A866DF
#A866DF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.183 H 307.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A866DF |
|---|---|
| RGB | rgb(168, 102, 223) |
| HSL | hsl(273, 65%, 64%) |
| HSV | hsv(273, 54%, 87%) |
| CMYK | cmyk(24.7%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(55.23, 48.65, -51.80) |
| CIE-LCH | lch(55.23, 71.07, 313.20°) |
| OKLab | oklab(63.45% 0.1103 -0.1456) |
| OKLCH | oklch(63.45% 0.183 307.1) |
| XYZ | xyz(34.2164, 23.1557, 72.4647) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.20
Light Urple
#B36FF6
ΔE00 4.33
Lightish Purple
#A552E6
ΔE00 4.82
Mediumpurple
#9370DB
ΔE00 4.93
Mediumorchid
#BA55D3
ΔE00 5.40
Amethyst
#9B5FC0
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866DF #9DDF66
analogous
#6B66DF #A866DF #DF66D9
triadic
#A866DF #DFA866 #66DFA8
tetradic
#A866DF #DF6B66 #9DDF66 #66D9DF
square
#A866DF #DF6B66 #9DDF66 #66D9DF
split-complementary
#A866DF #D9DF66 #66DF6B
monochromatic
#6B23A8 #8B33D4 #A866DF #C599EA #E2CBF4
Accessibility & contrast
On white
3.73
#A866DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#A866DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866DF
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866DF | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#A07C99
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a866df; /* rgb */ color: rgb(168, 102, 223); /* oklch */ color: oklch(63.5% 0.183 307.1);
Tailwind
colors: {
custom: {
50: '#c594e9',
500: '#a866df',
950: '#000000',
},
}SCSS
$custom: #a866df; $custom-light: #c594e9; $custom-dark: #000000;
JSON
{
"hex": "#a866df",
"rgb": {
"r": 168,
"g": 102,
"b": 223
},
"hsl": {
"h": 272.727,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.63454,
"c": 0.1827,
"h": 307.1
},
"luminance": 0.23155
}Semantic roles & 50–950 ramp
primary
#A866DF
secondary
#CEE6BB
accent
#CD186B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84