#866CD2#866CD2
#866CD2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.3% C 0.151 H 293.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #866CD2 |
|---|---|
| RGB | rgb(134, 108, 210) |
| HSL | hsl(255, 53%, 62%) |
| HSV | hsv(255, 49%, 82%) |
| CMYK | cmyk(36.2%, 48.6%, 0%, 17.6%) |
| CIE-LAB | lab(52.34, 33.41, -49.27) |
| CIE-LCH | lch(52.34, 59.53, 304.14°) |
| OKLab | oklab(60.27% 0.0592 -0.1391) |
| OKLCH | oklch(60.27% 0.151 293.1) |
| XYZ | xyz(26.8239, 20.4460, 63.4935) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.96
Mediumslateblue
#7B68EE
ΔE00 5.02
Deep Lilac
#966EBD
ΔE00 6.23
Purpley
#8756E4
ΔE00 6.65
Deep Lavender
#8D5EB7
ΔE00 6.97
Light Indigo
#6D5ACF
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CD2 #B8D26C
analogous
#6C85D2 #866CD2 #B96CD2
triadic
#866CD2 #D2866C #6CD286
tetradic
#866CD2 #D26C85 #B8D26C #6CD2B9
square
#866CD2 #D26C85 #B8D26C #6CD2B9
split-complementary
#866CD2 #D2B96C #85D26C
monochromatic
#482E96 #5F3DC4 #866CD2 #AD9BE0 #D3CAEF
Accessibility & contrast
On white
4.13
#866CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#866CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CD2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CD2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#738095
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866cd2; /* rgb */ color: rgb(134, 108, 210); /* oklch */ color: oklch(60.3% 0.151 293.1);
Tailwind
colors: {
custom: {
50: '#ad96e0',
500: '#866cd2',
950: '#000000',
},
}SCSS
$custom: #866cd2; $custom-light: #ad96e0; $custom-dark: #000000;
JSON
{
"hex": "#866cd2",
"rgb": {
"r": 134,
"g": 108,
"b": 210
},
"hsl": {
"h": 255.294,
"s": 53.125,
"l": 62.353
},
"oklch": {
"l": 0.6027,
"c": 0.15123,
"h": 293.1
},
"luminance": 0.20447
}Semantic roles & 50–950 ramp
primary
#866CD2
secondary
#D6E0BA
accent
#C12599
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83