#A866E7#A866E7
#A866E7 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.192 H 305.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A866E7 |
|---|---|
| RGB | rgb(168, 102, 231) |
| HSL | hsl(271, 73%, 65%) |
| HSV | hsv(271, 56%, 91%) |
| CMYK | cmyk(27.3%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(55.68, 50.50, -55.58) |
| CIE-LCH | lch(55.68, 75.09, 312.26°) |
| OKLab | oklab(63.93% 0.1106 -0.1567) |
| OKLCH | oklch(63.93% 0.192 305.2) |
| XYZ | xyz(35.3205, 23.5973, 78.2798) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.36
Light Urple
#B36FF6
ΔE00 3.56
Lightish Purple
#A552E6
ΔE00 4.72
Mediumpurple
#9370DB
ΔE00 4.88
Bright Lavender
#C760FF
ΔE00 5.62
Easter Purple
#C071FE
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866E7 #A5E766
analogous
#6866E7 #A866E7 #E766E5
triadic
#A866E7 #E7A866 #66E7A8
tetradic
#A866E7 #E76866 #A5E766 #66E5E7
square
#A866E7 #E76866 #A5E766 #66E5E7
split-complementary
#A866E7 #E5E766 #66E768
monochromatic
#6B1DB6 #8A31DF #A866E7 #C69BEF #E4D0F8
Accessibility & contrast
On white
3.67
#A866E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#A866E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866E7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866E7 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#9D7F9D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a866e7; /* rgb */ color: rgb(168, 102, 231); /* oklch */ color: oklch(63.9% 0.192 305.2);
Tailwind
colors: {
custom: {
50: '#c594ef',
500: '#a866e7',
950: '#000000',
},
}SCSS
$custom: #a866e7; $custom-light: #c594ef; $custom-dark: #000000;
JSON
{
"hex": "#a866e7",
"rgb": {
"r": 168,
"g": 102,
"b": 231
},
"hsl": {
"h": 270.698,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.6393,
"c": 0.19181,
"h": 305.2
},
"luminance": 0.23597
}Semantic roles & 50–950 ramp
primary
#A866E7
secondary
#D4EABF
accent
#D51170
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84