#866CD4#866CD4
#866CD4 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.154 H 292.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #866CD4 |
|---|---|
| RGB | rgb(134, 108, 212) |
| HSL | hsl(255, 55%, 63%) |
| HSV | hsv(255, 49%, 83%) |
| CMYK | cmyk(36.8%, 49.1%, 0%, 16.9%) |
| CIE-LAB | lab(52.45, 33.95, -50.23) |
| CIE-LCH | lch(52.45, 60.62, 304.05°) |
| OKLab | oklab(60.39% 0.0594 -0.142) |
| OKLCH | oklch(60.39% 0.154 292.7) |
| XYZ | xyz(27.0746, 20.5463, 64.8139) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.88
Mediumslateblue
#7B68EE
ΔE00 4.72
Deep Lilac
#966EBD
ΔE00 6.49
Purpley
#8756E4
ΔE00 6.52
Deep Lavender
#8D5EB7
ΔE00 7.21
Light Indigo
#6D5ACF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CD4 #BAD46C
analogous
#6C86D4 #866CD4 #BA6CD4
triadic
#866CD4 #D4866C #6CD486
tetradic
#866CD4 #D46C86 #BAD46C #6CD4BA
square
#866CD4 #D46C86 #BAD46C #6CD4BA
split-complementary
#866CD4 #D4BA6C #86D46C
monochromatic
#482D99 #5F3DC6 #866CD4 #AD9BE2 #D4CBF0
Accessibility & contrast
On white
4.11
#866CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#866CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CD4
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CD4 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#457FD8
Deuteranopia (green-blind)
#497BD2
Tritanopia (blue-blind)
#738196
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866cd4; /* rgb */ color: rgb(134, 108, 212); /* oklch */ color: oklch(60.4% 0.154 292.7);
Tailwind
colors: {
custom: {
50: '#ad96e2',
500: '#866cd4',
950: '#000000',
},
}SCSS
$custom: #866cd4; $custom-light: #ad96e2; $custom-dark: #000000;
JSON
{
"hex": "#866cd4",
"rgb": {
"r": 134,
"g": 108,
"b": 212
},
"hsl": {
"h": 255,
"s": 54.737,
"l": 62.745
},
"oklch": {
"l": 0.60389,
"c": 0.15389,
"h": 292.7
},
"luminance": 0.20547
}Semantic roles & 50–950 ramp
primary
#866CD4
secondary
#D7E1BB
accent
#C2239A
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110D15
muted
#807E83