#866CDD#866CDD
#866CDD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.166 H 291.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #866CDD |
|---|---|
| RGB | rgb(134, 108, 221) |
| HSL | hsl(254, 62%, 65%) |
| HSV | hsv(254, 51%, 87%) |
| CMYK | cmyk(39.4%, 51.1%, 0%, 13.3%) |
| CIE-LAB | lab(52.96, 36.39, -54.50) |
| CIE-LCH | lch(52.96, 65.53, 303.73°) |
| OKLab | oklab(60.94% 0.0602 -0.1545) |
| OKLCH | oklch(60.94% 0.166 291.3) |
| XYZ | xyz(28.2417, 21.0131, 70.9605) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.96
Mediumslateblue
#7B68EE
ΔE00 3.48
Purpley
#8756E4
ΔE00 6.16
Dark Periwinkle
#665FD1
ΔE00 7.25
Lighter Purple
#A55AF4
ΔE00 7.34
Light Indigo
#6D5ACF
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CDD #C3DD6C
analogous
#6C8BDD #866CDD #BE6CDD
triadic
#866CDD #DD866C #6CDD86
tetradic
#866CDD #DD6C8B #C3DD6C #6CDDBE
square
#866CDD #DD6C8B #C3DD6C #6CDDBE
split-complementary
#866CDD #DDBE6C #8BDD6C
monochromatic
#4427A8 #5D3AD2 #866CDD #AF9EE8 #D8CFF4
Accessibility & contrast
On white
4.04
#866CDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#866CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CDD
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CDD | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#6F839A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #866cdd; /* rgb */ color: rgb(134, 108, 221); /* oklch */ color: oklch(60.9% 0.166 291.3);
Tailwind
colors: {
custom: {
50: '#ae96e8',
500: '#866cdd',
950: '#000000',
},
}SCSS
$custom: #866cdd; $custom-light: #ae96e8; $custom-dark: #000000;
JSON
{
"hex": "#866cdd",
"rgb": {
"r": 134,
"g": 108,
"b": 221
},
"hsl": {
"h": 253.805,
"s": 62.431,
"l": 64.51
},
"oklch": {
"l": 0.6094,
"c": 0.16578,
"h": 291.3
},
"luminance": 0.21014
}Semantic roles & 50–950 ramp
primary
#866CDD
secondary
#DDE6BF
accent
#CA1BA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84