#866FCB#866FCB
#866FCB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.4% C 0.137 H 293.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #866FCB |
|---|---|
| RGB | rgb(134, 111, 203) |
| HSL | hsl(255, 47%, 62%) |
| HSV | hsv(255, 45%, 80%) |
| CMYK | cmyk(34%, 45.3%, 0%, 20.4%) |
| CIE-LAB | lab(52.67, 29.78, -44.75) |
| CIE-LCH | lch(52.67, 53.76, 303.65°) |
| OKLab | oklab(60.4% 0.0544 -0.1259) |
| OKLCH | oklch(60.4% 0.137 293.4) |
| XYZ | xyz(26.2927, 20.7485, 59.1079) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.40
Deep Lilac
#966EBD
ΔE00 5.34
Mediumslateblue
#7B68EE
ΔE00 6.40
Deep Lavender
#8D5EB7
ΔE00 6.90
Amethyst
#9B5FC0
ΔE00 7.46
Purpley
#8756E4
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FCB #B4CB6F
analogous
#6F86CB #866FCB #B46FCB
triadic
#866FCB #CB866F #6FCB86
tetradic
#866FCB #CB6F86 #B4CB6F #6FCBB4
square
#866FCB #CB6F86 #B4CB6F #6FCBB4
split-complementary
#866FCB #CBB46F #86CB6F
monochromatic
#49338D #6143BA #866FCB #AC9CDB #D2C9EB
Accessibility & contrast
On white
4.08
#866FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#866FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FCB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FCB | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#768093
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #866fcb; /* rgb */ color: rgb(134, 111, 203); /* oklch */ color: oklch(60.4% 0.137 293.4);
Tailwind
colors: {
custom: {
50: '#ac98db',
500: '#866fcb',
950: '#000000',
},
}SCSS
$custom: #866fcb; $custom-light: #ac98db; $custom-dark: #000000;
JSON
{
"hex": "#866fcb",
"rgb": {
"r": 134,
"g": 111,
"b": 203
},
"hsl": {
"h": 255,
"s": 46.939,
"l": 61.569
},
"oklch": {
"l": 0.60399,
"c": 0.1372,
"h": 293.4
},
"luminance": 0.20749
}Semantic roles & 50–950 ramp
primary
#866FCB
secondary
#D3DCBA
accent
#BA2B96
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83