#866CBD#866CBD
#866CBD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.1% C 0.123 H 297.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #866CBD |
|---|---|
| RGB | rgb(134, 108, 189) |
| HSL | hsl(259, 38%, 58%) |
| HSV | hsv(259, 43%, 74%) |
| CMYK | cmyk(29.1%, 42.9%, 0%, 25.9%) |
| CIE-LAB | lab(51.23, 27.89, -39.01) |
| CIE-LCH | lch(51.23, 47.96, 305.57°) |
| OKLab | oklab(59.08% 0.0564 -0.1092) |
| OKLCH | oklch(59.08% 0.123 297.3) |
| XYZ | xyz(24.3772, 19.4673, 50.6075) |
| Luminance | 0.1947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.89
Deep Lavender
#8D5EB7
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.42
Amethyst
#9B5FC0
ΔE00 6.23
Dark Lavender
#856798
ΔE00 8.43
Soft Purple
#A66FB5
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CBD #A3BD6C
analogous
#6C7ABD #866CBD #AE6CBD
triadic
#866CBD #BD866C #6CBD86
tetradic
#866CBD #BD6C7A #A3BD6C #6CBDAE
square
#866CBD #BD6C7A #A3BD6C #6CBDAE
split-complementary
#866CBD #BDAE6C #7ABD6C
monochromatic
#4B3678 #6649A3 #866CBD #A996D0 #CCC0E3
Accessibility & contrast
On white
4.29
#866CBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#866CBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CBD
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CBD | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557AC0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#7B7A8B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #866cbd; /* rgb */ color: rgb(134, 108, 189); /* oklch */ color: oklch(59.1% 0.123 297.3);
Tailwind
colors: {
custom: {
50: '#ab96d1',
500: '#866cbd',
950: '#000000',
},
}SCSS
$custom: #866cbd; $custom-light: #ab96d1; $custom-dark: #000000;
JSON
{
"hex": "#866cbd",
"rgb": {
"r": 134,
"g": 108,
"b": 189
},
"hsl": {
"h": 259.259,
"s": 38.028,
"l": 58.235
},
"oklch": {
"l": 0.59076,
"c": 0.1229,
"h": 297.3
},
"luminance": 0.19468
}Semantic roles & 50–950 ramp
primary
#866CBD
secondary
#C8D3B2
accent
#CE5AA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82