#866EBB#866EBB
#866EBB is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.3% C 0.117 H 297.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #866EBB |
|---|---|
| RGB | rgb(134, 110, 187) |
| HSL | hsl(259, 36%, 58%) |
| HSV | hsv(259, 41%, 73%) |
| CMYK | cmyk(28.3%, 41.2%, 0%, 26.7%) |
| CIE-LAB | lab(51.62, 26.20, -37.24) |
| CIE-LCH | lch(51.62, 45.54, 305.13°) |
| OKLab | oklab(59.34% 0.0532 -0.1041) |
| OKLCH | oklch(59.34% 0.117 297.1) |
| XYZ | xyz(24.3750, 19.8078, 49.5432) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.80
Deep Lavender
#8D5EB7
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 5.75
Amethyst
#9B5FC0
ΔE00 6.74
Dark Lavender
#856798
ΔE00 8.09
Soft Purple
#A66FB5
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866EBB #A3BB6E
analogous
#6E7CBB #866EBB #AC6EBB
triadic
#866EBB #BB866E #6EBB86
tetradic
#866EBB #BB6E7C #A3BB6E #6EBBAC
square
#866EBB #BB6E7C #A3BB6E #6EBBAC
split-complementary
#866EBB #BBAC6E #7CBB6E
monochromatic
#4B3877 #664BA1 #866EBB #A998CF #CCC1E2
Accessibility & contrast
On white
4.23
#866EBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#866EBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866EBB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866EBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866EBB | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#7B7B8B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866ebb; /* rgb */ color: rgb(134, 110, 187); /* oklch */ color: oklch(59.3% 0.117 297.1);
Tailwind
colors: {
custom: {
50: '#ab98d0',
500: '#866ebb',
950: '#000000',
},
}SCSS
$custom: #866ebb; $custom-light: #ab98d0; $custom-dark: #000000;
JSON
{
"hex": "#866ebb",
"rgb": {
"r": 134,
"g": 110,
"b": 187
},
"hsl": {
"h": 258.701,
"s": 36.15,
"l": 58.235
},
"oklch": {
"l": 0.59338,
"c": 0.11689,
"h": 297.1
},
"luminance": 0.19808
}Semantic roles & 50–950 ramp
primary
#866EBB
secondary
#C8D2B3
accent
#CC5CA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82