#866DBF#866DBF
#866DBF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.4% C 0.124 H 296.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #866DBF |
|---|---|
| RGB | rgb(134, 109, 191) |
| HSL | hsl(258, 39%, 59%) |
| HSV | hsv(258, 43%, 75%) |
| CMYK | cmyk(29.8%, 42.9%, 0%, 25.1%) |
| CIE-LAB | lab(51.57, 27.82, -39.62) |
| CIE-LCH | lch(51.57, 48.41, 305.07°) |
| OKLab | oklab(59.37% 0.0553 -0.111) |
| OKLCH | oklch(59.37% 0.124 296.5) |
| XYZ | xyz(24.7018, 19.7669, 51.7941) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.02
Mediumpurple
#9370DB
ΔE00 5.07
Deep Lavender
#8D5EB7
ΔE00 5.44
Amethyst
#9B5FC0
ΔE00 6.49
Mediumslateblue
#7B68EE
ΔE00 8.38
Light Indigo
#6D5ACF
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866DBF #A6BF6D
analogous
#6D7DBF #866DBF #AF6DBF
triadic
#866DBF #BF866D #6DBF86
tetradic
#866DBF #BF6D7D #A6BF6D #6DBFAF
square
#866DBF #BF6D7D #A6BF6D #6DBFAF
split-complementary
#866DBF #BFAF6D #7DBF6D
monochromatic
#4B367B #6549A6 #866DBF #A998D2 #CDC2E4
Accessibility & contrast
On white
4.24
#866DBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#866DBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866DBF
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866DBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866DBF | 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)
#557BC2
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#7A7C8D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866dbf; /* rgb */ color: rgb(134, 109, 191); /* oklch */ color: oklch(59.4% 0.124 296.5);
Tailwind
colors: {
custom: {
50: '#ab97d2',
500: '#866dbf',
950: '#000000',
},
}SCSS
$custom: #866dbf; $custom-light: #ab97d2; $custom-dark: #000000;
JSON
{
"hex": "#866dbf",
"rgb": {
"r": 134,
"g": 109,
"b": 191
},
"hsl": {
"h": 258.293,
"s": 39.048,
"l": 58.824
},
"oklch": {
"l": 0.59368,
"c": 0.12401,
"h": 296.5
},
"luminance": 0.19767
}Semantic roles & 50–950 ramp
primary
#866DBF
secondary
#CAD4B4
accent
#CF59AB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82