#866BCF#866BCF
#866BCF is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.149 H 293.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #866BCF |
|---|---|
| RGB | rgb(134, 107, 207) |
| HSL | hsl(256, 51%, 62%) |
| HSV | hsv(256, 48%, 81%) |
| CMYK | cmyk(35.3%, 48.3%, 0%, 18.8%) |
| CIE-LAB | lab(51.94, 33.19, -48.20) |
| CIE-LCH | lch(51.94, 58.52, 304.55°) |
| OKLab | oklab(59.92% 0.0602 -0.136) |
| OKLCH | oklch(59.92% 0.149 293.9) |
| XYZ | xyz(26.3488, 20.0882, 61.5086) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.25
Mediumslateblue
#7B68EE
ΔE00 5.45
Deep Lilac
#966EBD
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.40
Purpley
#8756E4
ΔE00 6.59
Amethyst
#9B5FC0
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BCF #B4CF6B
analogous
#6B82CF #866BCF #B86BCF
triadic
#866BCF #CF866B #6BCF86
tetradic
#866BCF #CF6B82 #B4CF6B #6BCFB8
square
#866BCF #CF6B82 #B4CF6B #6BCFB8
split-complementary
#866BCF #CFB86B #82CF6B
monochromatic
#492F91 #613EBF #866BCF #AC99DE #D2C7ED
Accessibility & contrast
On white
4.19
#866BCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#866BCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BCF
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BCF | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#4C7ACD
Tritanopia (blue-blind)
#757E93
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866bcf; /* rgb */ color: rgb(134, 107, 207); /* oklch */ color: oklch(59.9% 0.149 293.9);
Tailwind
colors: {
custom: {
50: '#ac96de',
500: '#866bcf',
950: '#000000',
},
}SCSS
$custom: #866bcf; $custom-light: #ac96de; $custom-dark: #000000;
JSON
{
"hex": "#866bcf",
"rgb": {
"r": 134,
"g": 107,
"b": 207
},
"hsl": {
"h": 256.2,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.59916,
"c": 0.14876,
"h": 293.9
},
"luminance": 0.20089
}Semantic roles & 50–950 ramp
primary
#866BCF
secondary
#D3DEB8
accent
#BE2796
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83