#866CEC#866CEC
#866CEC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.185 H 289.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #866CEC |
|---|---|
| RGB | rgb(134, 108, 236) |
| HSL | hsl(252, 77%, 67%) |
| HSV | hsv(252, 54%, 93%) |
| CMYK | cmyk(43.2%, 54.2%, 0%, 7.5%) |
| CIE-LAB | lab(53.87, 40.53, -61.47) |
| CIE-LCH | lch(53.87, 73.63, 303.40°) |
| OKLab | oklab(61.9% 0.0609 -0.175) |
| OKLCH | oklch(61.9% 0.185 289.2) |
| XYZ | xyz(30.3301, 21.8485, 81.9597) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.26
Mediumpurple
#9370DB
ΔE00 4.13
Purpley
#8756E4
ΔE00 6.31
Periwinkle (survey)
#8E82FE
ΔE00 6.81
Lighter Purple
#A55AF4
ΔE00 6.90
Cornflower
#6A79F7
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CEC #D2EC6C
analogous
#6C92EC #866CEC #C66CEC
triadic
#866CEC #EC866C #6CEC86
tetradic
#866CEC #EC6C92 #D2EC6C #6CECC6
square
#866CEC #EC6C92 #D2EC6C #6CECC6
split-complementary
#866CEC #ECC66C #92EC6C
monochromatic
#3C19C4 #5936E5 #866CEC #B3A2F3 #DFD8FA
Accessibility & contrast
On white
3.91
#866CEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#866CEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CEC
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CEC | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#6888A2
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #866cec; /* rgb */ color: rgb(134, 108, 236); /* oklch */ color: oklch(61.9% 0.185 289.2);
Tailwind
colors: {
custom: {
50: '#af97f3',
500: '#866cec',
950: '#000000',
},
}SCSS
$custom: #866cec; $custom-light: #af97f3; $custom-dark: #000000;
JSON
{
"hex": "#866cec",
"rgb": {
"r": 134,
"g": 108,
"b": 236
},
"hsl": {
"h": 252.188,
"s": 77.108,
"l": 67.451
},
"oklch": {
"l": 0.619,
"c": 0.18527,
"h": 289.2
},
"luminance": 0.2185
}Semantic roles & 50–950 ramp
primary
#866CEC
secondary
#E6EEC6
accent
#D90CB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85