#866BBF#866BBF
#866BBF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.0% C 0.127 H 297.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #866BBF |
|---|---|
| RGB | rgb(134, 107, 191) |
| HSL | hsl(259, 40%, 58%) |
| HSV | hsv(259, 44%, 75%) |
| CMYK | cmyk(29.8%, 44%, 0%, 25.1%) |
| CIE-LAB | lab(51.09, 29.00, -40.38) |
| CIE-LCH | lch(51.09, 49.72, 305.68°) |
| OKLab | oklab(59% 0.0581 -0.1132) |
| OKLCH | oklch(59% 0.127 297.2) |
| XYZ | xyz(24.4909, 19.3450, 51.7238) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.07
Deep Lavender
#8D5EB7
ΔE00 4.84
Mediumpurple
#9370DB
ΔE00 5.14
Amethyst
#9B5FC0
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 8.18
Mediumslateblue
#7B68EE
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BBF #A4BF6B
analogous
#6B7ABF #866BBF #B06BBF
triadic
#866BBF #BF866B #6BBF86
tetradic
#866BBF #BF6B7A #A4BF6B #6BBFB0
square
#866BBF #BF6B7A #A4BF6B #6BBFB0
split-complementary
#866BBF #BFB06B #7ABF6B
monochromatic
#4B357B #6647A5 #866BBF #A996D1 #CCC0E4
Accessibility & contrast
On white
4.31
#866BBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#866BBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BBF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BBF | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#7A7A8C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #866bbf; /* rgb */ color: rgb(134, 107, 191); /* oklch */ color: oklch(59.0% 0.127 297.2);
Tailwind
colors: {
custom: {
50: '#ab95d2',
500: '#866bbf',
950: '#000000',
},
}SCSS
$custom: #866bbf; $custom-light: #ab95d2; $custom-dark: #000000;
JSON
{
"hex": "#866bbf",
"rgb": {
"r": 134,
"g": 107,
"b": 191
},
"hsl": {
"h": 259.286,
"s": 39.623,
"l": 58.431
},
"oklch": {
"l": 0.59002,
"c": 0.12725,
"h": 297.2
},
"luminance": 0.19345
}Semantic roles & 50–950 ramp
primary
#866BBF
secondary
#C9D4B2
accent
#D058A9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82