#866CB1#866CB1
#866CB1 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.4% C 0.106 H 300.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #866CB1 |
|---|---|
| RGB | rgb(134, 108, 177) |
| HSL | hsl(263, 31%, 56%) |
| HSV | hsv(263, 39%, 69%) |
| CMYK | cmyk(24.3%, 39%, 0%, 30.6%) |
| CIE-LAB | lab(50.65, 24.87, -32.98) |
| CIE-LCH | lch(50.65, 41.31, 307.02°) |
| OKLab | oklab(58.45% 0.0541 -0.0918) |
| OKLCH | oklch(58.45% 0.107 300.5) |
| XYZ | xyz(23.1281, 18.9677, 44.0291) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.87
Deep Lavender
#8D5EB7
ΔE00 5.20
Dark Lavender
#856798
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.66
Dark Lilac
#9C6DA5
ΔE00 7.24
Soft Purple
#A66FB5
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CB1 #97B16C
analogous
#6C74B1 #866CB1 #A86CB1
triadic
#866CB1 #B1866C #6CB186
tetradic
#866CB1 #B16C74 #97B16C #6CB1A8
square
#866CB1 #B16C74 #97B16C #6CB1A8
split-complementary
#866CB1 #B1A86C #74B16C
monochromatic
#4B386A #674E92 #866CB1 #A794C6 #C8BCDB
Accessibility & contrast
On white
4.38
#866CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#866CB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CB1
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CB1 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B78B4
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#7E7786
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #866cb1; /* rgb */ color: rgb(134, 108, 177); /* oklch */ color: oklch(58.4% 0.106 300.5);
Tailwind
colors: {
custom: {
50: '#aa96c8',
500: '#866cb1',
950: '#000000',
},
}SCSS
$custom: #866cb1; $custom-light: #aa96c8; $custom-dark: #000000;
JSON
{
"hex": "#866cb1",
"rgb": {
"r": 134,
"g": 108,
"b": 177
},
"hsl": {
"h": 262.609,
"s": 30.667,
"l": 55.882
},
"oklch": {
"l": 0.58447,
"c": 0.1065,
"h": 300.5
},
"luminance": 0.18968
}Semantic roles & 50–950 ramp
primary
#866CB1
secondary
#C0CBAE
accent
#C761A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82