#866CCF#866CCF
#866CCF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.147 H 293.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #866CCF |
|---|---|
| RGB | rgb(134, 108, 207) |
| HSL | hsl(256, 51%, 62%) |
| HSV | hsv(256, 48%, 81%) |
| CMYK | cmyk(35.3%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(52.17, 32.61, -47.82) |
| CIE-LCH | lch(52.17, 57.88, 304.29°) |
| OKLab | oklab(60.09% 0.0589 -0.1349) |
| OKLCH | oklch(60.09% 0.147 293.6) |
| XYZ | xyz(26.4536, 20.2979, 61.5435) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.14
Mediumslateblue
#7B68EE
ΔE00 5.50
Deep Lilac
#966EBD
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.61
Purpley
#8756E4
ΔE00 6.87
Amethyst
#9B5FC0
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CCF #B5CF6C
analogous
#6C84CF #866CCF #B86CCF
triadic
#866CCF #CF866C #6CCF86
tetradic
#866CCF #CF6C84 #B5CF6C #6CCFB8
square
#866CCF #CF6C84 #B5CF6C #6CCFB8
split-complementary
#866CCF #CFB86C #84CF6C
monochromatic
#492F91 #603EBF #866CCF #AC9ADE #D2C8ED
Accessibility & contrast
On white
4.15
#866CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#866CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CCF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CCF | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#747F94
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866ccf; /* rgb */ color: rgb(134, 108, 207); /* oklch */ color: oklch(60.1% 0.147 293.6);
Tailwind
colors: {
custom: {
50: '#ac96de',
500: '#866ccf',
950: '#000000',
},
}SCSS
$custom: #866ccf; $custom-light: #ac96de; $custom-dark: #000000;
JSON
{
"hex": "#866ccf",
"rgb": {
"r": 134,
"g": 108,
"b": 207
},
"hsl": {
"h": 255.758,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.60092,
"c": 0.14723,
"h": 293.6
},
"luminance": 0.20298
}Semantic roles & 50–950 ramp
primary
#866CCF
secondary
#D4DEB9
accent
#BE2797
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83