#866EBA#866EBA
#866EBA is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.3% C 0.116 H 297.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #866EBA |
|---|---|
| RGB | rgb(134, 110, 186) |
| HSL | hsl(259, 36%, 58%) |
| HSV | hsv(259, 41%, 73%) |
| CMYK | cmyk(28%, 40.9%, 0%, 27.1%) |
| CIE-LAB | lab(51.57, 25.95, -36.74) |
| CIE-LCH | lch(51.57, 44.98, 305.23°) |
| OKLab | oklab(59.29% 0.053 -0.1026) |
| OKLCH | oklch(59.29% 0.116 297.3) |
| XYZ | xyz(24.2683, 19.7651, 48.9813) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 5.61
Mediumpurple
#9370DB
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.76
Dark Lavender
#856798
ΔE00 7.89
Soft Purple
#A66FB5
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866EBA #A2BA6E
analogous
#6E7CBA #866EBA #AC6EBA
triadic
#866EBA #BA866E #6EBA86
tetradic
#866EBA #BA6E7C #A2BA6E #6EBAAC
square
#866EBA #BA6E7C #A2BA6E #6EBAAC
split-complementary
#866EBA #BAAC6E #7CBA6E
monochromatic
#4B3876 #664C9F #866EBA #A997CE #CBC1E1
Accessibility & contrast
On white
4.24
#866EBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#866EBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866EBA
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866EBA | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#7B7B8B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866eba; /* rgb */ color: rgb(134, 110, 186); /* oklch */ color: oklch(59.3% 0.116 297.3);
Tailwind
colors: {
custom: {
50: '#ab98cf',
500: '#866eba',
950: '#000000',
},
}SCSS
$custom: #866eba; $custom-light: #ab98cf; $custom-dark: #000000;
JSON
{
"hex": "#866eba",
"rgb": {
"r": 134,
"g": 110,
"b": 186
},
"hsl": {
"h": 258.947,
"s": 35.514,
"l": 58.039
},
"oklch": {
"l": 0.59286,
"c": 0.11552,
"h": 297.3
},
"luminance": 0.19765
}Semantic roles & 50–950 ramp
primary
#866EBA
secondary
#C7D1B3
accent
#CC5CA8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82