#866CD6#866CD6
#866CD6 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.157 H 292.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #866CD6 |
|---|---|
| RGB | rgb(134, 108, 214) |
| HSL | hsl(255, 56%, 63%) |
| HSV | hsv(255, 50%, 84%) |
| CMYK | cmyk(37.4%, 49.5%, 0%, 16.1%) |
| CIE-LAB | lab(52.56, 34.49, -51.18) |
| CIE-LCH | lch(52.56, 61.71, 303.97°) |
| OKLab | oklab(60.51% 0.0596 -0.1448) |
| OKLCH | oklch(60.51% 0.157 292.4) |
| XYZ | xyz(27.3285, 20.6478, 66.1509) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.84
Mediumslateblue
#7B68EE
ΔE00 4.42
Purpley
#8756E4
ΔE00 6.41
Deep Lilac
#966EBD
ΔE00 6.76
Dark Periwinkle
#665FD1
ΔE00 7.21
Light Indigo
#6D5ACF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CD6 #BCD66C
analogous
#6C87D6 #866CD6 #BB6CD6
triadic
#866CD6 #D6866C #6CD686
tetradic
#866CD6 #D66C87 #BCD66C #6CD6BB
square
#866CD6 #D66C87 #BCD66C #6CD6BB
split-complementary
#866CD6 #D6BB6C #87D66C
monochromatic
#472C9C #5F3CC9 #866CD6 #AD9CE3 #D5CCF1
Accessibility & contrast
On white
4.09
#866CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#866CD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CD6
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CD6 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#437FDA
Deuteranopia (green-blind)
#477BD4
Tritanopia (blue-blind)
#728197
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866cd6; /* rgb */ color: rgb(134, 108, 214); /* oklch */ color: oklch(60.5% 0.157 292.4);
Tailwind
colors: {
custom: {
50: '#ad96e3',
500: '#866cd6',
950: '#000000',
},
}SCSS
$custom: #866cd6; $custom-light: #ad96e3; $custom-dark: #000000;
JSON
{
"hex": "#866cd6",
"rgb": {
"r": 134,
"g": 108,
"b": 214
},
"hsl": {
"h": 254.717,
"s": 56.383,
"l": 63.137
},
"oklch": {
"l": 0.6051,
"c": 0.15655,
"h": 292.4
},
"luminance": 0.20648
}Semantic roles & 50–950 ramp
primary
#866CD6
secondary
#D9E2BC
accent
#C4229C
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110D15
muted
#807E84