#866CE9#866CE9
#866CE9 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.7% C 0.181 H 289.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #866CE9 |
|---|---|
| RGB | rgb(134, 108, 233) |
| HSL | hsl(252, 74%, 67%) |
| HSV | hsv(252, 54%, 91%) |
| CMYK | cmyk(42.5%, 53.6%, 0%, 8.6%) |
| CIE-LAB | lab(53.68, 39.70, -60.09) |
| CIE-LCH | lch(53.68, 72.02, 303.45°) |
| OKLab | oklab(61.7% 0.0608 -0.1709) |
| OKLCH | oklch(61.7% 0.181 289.6) |
| XYZ | xyz(29.8980, 21.6756, 79.6835) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.37
Mediumpurple
#9370DB
ΔE00 3.84
Purpley
#8756E4
ΔE00 6.21
Lighter Purple
#A55AF4
ΔE00 6.94
Periwinkle (survey)
#8E82FE
ΔE00 7.00
Cornflower
#6A79F7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CE9 #CFE96C
analogous
#6C91E9 #866CE9 #C56CE9
triadic
#866CE9 #E9866C #6CE986
tetradic
#866CE9 #E96C91 #CFE96C #6CE9C5
square
#866CE9 #E96C91 #CFE96C #6CE9C5
split-complementary
#866CE9 #E9C56C #91E96C
monochromatic
#3E1CBE #5A37E1 #866CE9 #B2A1F1 #DED6F9
Accessibility & contrast
On white
3.94
#866CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#866CE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CE9
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CE9 | 1.00 | 3.94 | 5.34 | 5.34 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E83ED
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#6987A0
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #866ce9; /* rgb */ color: rgb(134, 108, 233); /* oklch */ color: oklch(61.7% 0.181 289.6);
Tailwind
colors: {
custom: {
50: '#af97f1',
500: '#866ce9',
950: '#000000',
},
}SCSS
$custom: #866ce9; $custom-light: #af97f1; $custom-dark: #000000;
JSON
{
"hex": "#866ce9",
"rgb": {
"r": 134,
"g": 108,
"b": 233
},
"hsl": {
"h": 252.48,
"s": 73.964,
"l": 66.863
},
"oklch": {
"l": 0.61704,
"c": 0.18141,
"h": 289.6
},
"luminance": 0.21677
}Semantic roles & 50–950 ramp
primary
#866CE9
secondary
#E4ECC4
accent
#D60FAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85