#866FCF#866FCF
#866FCF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.6% C 0.143 H 292.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #866FCF |
|---|---|
| RGB | rgb(134, 111, 207) |
| HSL | hsl(254, 50%, 62%) |
| HSV | hsv(254, 46%, 81%) |
| CMYK | cmyk(35.3%, 46.4%, 0%, 18.8%) |
| CIE-LAB | lab(52.89, 30.85, -46.69) |
| CIE-LCH | lch(52.89, 55.96, 303.45°) |
| OKLab | oklab(60.63% 0.055 -0.1316) |
| OKLCH | oklch(60.63% 0.143 292.7) |
| XYZ | xyz(26.7755, 20.9416, 61.6508) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.02
Mediumslateblue
#7B68EE
ΔE00 5.75
Deep Lilac
#966EBD
ΔE00 5.85
Deep Lavender
#8D5EB7
ΔE00 7.30
Amethyst
#9B5FC0
ΔE00 7.72
Purpley
#8756E4
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FCF #B8CF6F
analogous
#6F88CF #866FCF #B66FCF
triadic
#866FCF #CF866F #6FCF86
tetradic
#866FCF #CF6F88 #B8CF6F #6FCFB6
square
#866FCF #CF6F88 #B8CF6F #6FCFB6
split-complementary
#866FCF #CFB66F #88CF6F
monochromatic
#483193 #5F41C0 #866FCF #AD9DDE #D3CBEE
Accessibility & contrast
On white
4.05
#866FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#866FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FCF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FCF | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#517CCD
Tritanopia (blue-blind)
#748195
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #866fcf; /* rgb */ color: rgb(134, 111, 207); /* oklch */ color: oklch(60.6% 0.143 292.7);
Tailwind
colors: {
custom: {
50: '#ac98de',
500: '#866fcf',
950: '#000000',
},
}SCSS
$custom: #866fcf; $custom-light: #ac98de; $custom-dark: #000000;
JSON
{
"hex": "#866fcf",
"rgb": {
"r": 134,
"g": 111,
"b": 207
},
"hsl": {
"h": 254.375,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.60628,
"c": 0.14262,
"h": 292.7
},
"luminance": 0.20942
}Semantic roles & 50–950 ramp
primary
#866FCF
secondary
#D6DEBB
accent
#BD289A
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83