#866CD0#866CD0
#866CD0 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.2% C 0.149 H 293.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #866CD0 |
|---|---|
| RGB | rgb(134, 108, 208) |
| HSL | hsl(256, 52%, 62%) |
| HSV | hsv(256, 48%, 82%) |
| CMYK | cmyk(35.6%, 48.1%, 0%, 18.4%) |
| CIE-LAB | lab(52.23, 32.87, -48.31) |
| CIE-LCH | lch(52.23, 58.43, 304.24°) |
| OKLab | oklab(60.15% 0.059 -0.1363) |
| OKLCH | oklch(60.15% 0.149 293.4) |
| XYZ | xyz(26.5763, 20.3470, 62.1894) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.07
Mediumslateblue
#7B68EE
ΔE00 5.34
Deep Lilac
#966EBD
ΔE00 5.97
Deep Lavender
#8D5EB7
ΔE00 6.73
Purpley
#8756E4
ΔE00 6.79
Amethyst
#9B5FC0
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CD0 #B6D06C
analogous
#6C84D0 #866CD0 #B86CD0
triadic
#866CD0 #D0866C #6CD086
tetradic
#866CD0 #D06C84 #B6D06C #6CD0B8
square
#866CD0 #D06C84 #B6D06C #6CD0B8
split-complementary
#866CD0 #D0B86C #84D06C
monochromatic
#492F93 #603EC1 #866CD0 #AC9ADF #D2C9EE
Accessibility & contrast
On white
4.14
#866CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#866CD0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CD0
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CD0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CD0 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#487ED4
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#747F94
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866cd0; /* rgb */ color: rgb(134, 108, 208); /* oklch */ color: oklch(60.2% 0.149 293.4);
Tailwind
colors: {
custom: {
50: '#ac96df',
500: '#866cd0',
950: '#000000',
},
}SCSS
$custom: #866cd0; $custom-light: #ac96df; $custom-dark: #000000;
JSON
{
"hex": "#866cd0",
"rgb": {
"r": 134,
"g": 108,
"b": 208
},
"hsl": {
"h": 255.6,
"s": 51.546,
"l": 61.961
},
"oklch": {
"l": 0.60151,
"c": 0.14856,
"h": 293.4
},
"luminance": 0.20348
}Semantic roles & 50–950 ramp
primary
#866CD0
secondary
#D5DEB9
accent
#BF2797
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83