#866FBF#866FBF
#866FBF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.7% C 0.121 H 295.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #866FBF |
|---|---|
| RGB | rgb(134, 111, 191) |
| HSL | hsl(257, 38%, 59%) |
| HSV | hsv(257, 42%, 75%) |
| CMYK | cmyk(29.8%, 41.9%, 0%, 25.1%) |
| CIE-LAB | lab(52.06, 26.64, -38.85) |
| CIE-LCH | lch(52.06, 47.11, 304.44°) |
| OKLab | oklab(59.74% 0.0525 -0.1088) |
| OKLCH | oklch(59.74% 0.121 295.8) |
| XYZ | xyz(24.9176, 20.1985, 51.8660) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.09
Mediumpurple
#9370DB
ΔE00 5.09
Deep Lavender
#8D5EB7
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 7.00
Mediumslateblue
#7B68EE
ΔE00 8.55
Soft Purple
#A66FB5
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FBF #A8BF6F
analogous
#6F80BF #866FBF #AE6FBF
triadic
#866FBF #BF866F #6FBF86
tetradic
#866FBF #BF6F80 #A8BF6F #6FBFAE
square
#866FBF #BF6F80 #A8BF6F #6FBFAE
split-complementary
#866FBF #BFAE6F #80BF6F
monochromatic
#4B377C #654AA7 #866FBF #AA99D2 #CDC4E5
Accessibility & contrast
On white
4.17
#866FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#866FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FBF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FBF | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#7A7D8E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866fbf; /* rgb */ color: rgb(134, 111, 191); /* oklch */ color: oklch(59.7% 0.121 295.8);
Tailwind
colors: {
custom: {
50: '#ab98d2',
500: '#866fbf',
950: '#000000',
},
}SCSS
$custom: #866fbf; $custom-light: #ab98d2; $custom-dark: #000000;
JSON
{
"hex": "#866fbf",
"rgb": {
"r": 134,
"g": 111,
"b": 191
},
"hsl": {
"h": 257.25,
"s": 38.462,
"l": 59.216
},
"oklch": {
"l": 0.59737,
"c": 0.12077,
"h": 295.8
},
"luminance": 0.20199
}Semantic roles & 50–950 ramp
primary
#866FBF
secondary
#CCD5B5
accent
#CE59AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82