#866CE6#866CE6
#866CE6 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.178 H 290.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #866CE6 |
|---|---|
| RGB | rgb(134, 108, 230) |
| HSL | hsl(253, 71%, 66%) |
| HSV | hsv(253, 53%, 90%) |
| CMYK | cmyk(41.7%, 53%, 0%, 9.8%) |
| CIE-LAB | lab(53.50, 38.86, -58.70) |
| CIE-LCH | lch(53.50, 70.40, 303.51°) |
| OKLab | oklab(61.51% 0.0607 -0.1668) |
| OKLCH | oklch(61.51% 0.178 290) |
| XYZ | xyz(29.4730, 21.5057, 77.4457) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.56
Mediumpurple
#9370DB
ΔE00 3.57
Purpley
#8756E4
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 7.00
Periwinkle (survey)
#8E82FE
ΔE00 7.20
Cornflower
#6A79F7
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CE6 #CCE66C
analogous
#6C8FE6 #866CE6 #C36CE6
triadic
#866CE6 #E6866C #6CE686
tetradic
#866CE6 #E66C8F #CCE66C #6CE6C3
square
#866CE6 #E66C8F #CCE66C #6CE6C3
split-complementary
#866CE6 #E6C36C #8FE66C
monochromatic
#401FB8 #5B38DD #866CE6 #B1A0EF #DCD5F8
Accessibility & contrast
On white
3.96
#866CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#866CE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CE6
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CE6 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3282EA
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#6B869F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #866ce6; /* rgb */ color: rgb(134, 108, 230); /* oklch */ color: oklch(61.5% 0.178 290.0);
Tailwind
colors: {
custom: {
50: '#ae97ef',
500: '#866ce6',
950: '#000000',
},
}SCSS
$custom: #866ce6; $custom-light: #ae97ef; $custom-dark: #000000;
JSON
{
"hex": "#866ce6",
"rgb": {
"r": 134,
"g": 108,
"b": 230
},
"hsl": {
"h": 252.787,
"s": 70.93,
"l": 66.275
},
"oklch": {
"l": 0.6151,
"c": 0.17753,
"h": 290
},
"luminance": 0.21507
}Semantic roles & 50–950 ramp
primary
#866CE6
secondary
#E2EBC3
accent
#D313AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84