#866CD8#866CD8
#866CD8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.6% C 0.159 H 292.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #866CD8 |
|---|---|
| RGB | rgb(134, 108, 216) |
| HSL | hsl(254, 58%, 64%) |
| HSV | hsv(254, 50%, 85%) |
| CMYK | cmyk(38%, 50%, 0%, 15.3%) |
| CIE-LAB | lab(52.68, 35.03, -52.13) |
| CIE-LCH | lch(52.68, 62.81, 303.90°) |
| OKLab | oklab(60.63% 0.0598 -0.1475) |
| OKLCH | oklch(60.63% 0.159 292.1) |
| XYZ | xyz(27.5854, 20.7506, 67.5043) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.84
Mediumslateblue
#7B68EE
ΔE00 4.14
Purpley
#8756E4
ΔE00 6.32
Deep Lilac
#966EBD
ΔE00 7.02
Dark Periwinkle
#665FD1
ΔE00 7.20
Light Indigo
#6D5ACF
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CD8 #BED86C
analogous
#6C88D8 #866CD8 #BC6CD8
triadic
#866CD8 #D8866C #6CD886
tetradic
#866CD8 #D86C88 #BED86C #6CD8BC
square
#866CD8 #D86C88 #BED86C #6CD8BC
split-complementary
#866CD8 #D8BC6C #88D86C
monochromatic
#462A9F #5E3CCB #866CD8 #AE9CE5 #D6CDF2
Accessibility & contrast
On white
4.08
#866CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#866CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CD8
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CD8 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#417FDC
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#718298
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #866cd8; /* rgb */ color: rgb(134, 108, 216); /* oklch */ color: oklch(60.6% 0.159 292.1);
Tailwind
colors: {
custom: {
50: '#ad96e4',
500: '#866cd8',
950: '#000000',
},
}SCSS
$custom: #866cd8; $custom-light: #ad96e4; $custom-dark: #000000;
JSON
{
"hex": "#866cd8",
"rgb": {
"r": 134,
"g": 108,
"b": 216
},
"hsl": {
"h": 254.444,
"s": 58.065,
"l": 63.529
},
"oklch": {
"l": 0.60632,
"c": 0.1592,
"h": 292.1
},
"luminance": 0.20751
}Semantic roles & 50–950 ramp
primary
#866CD8
secondary
#DAE3BD
accent
#C6209E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84