#866DCD#866DCD
#866DCD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.143 H 293.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #866DCD |
|---|---|
| RGB | rgb(134, 109, 205) |
| HSL | hsl(256, 49%, 62%) |
| HSV | hsv(256, 47%, 80%) |
| CMYK | cmyk(34.6%, 46.8%, 0%, 19.6%) |
| CIE-LAB | lab(52.30, 31.49, -46.48) |
| CIE-LCH | lch(52.30, 56.14, 304.12°) |
| OKLab | oklab(60.15% 0.0574 -0.131) |
| OKLCH | oklch(60.15% 0.143 293.6) |
| XYZ | xyz(26.3168, 20.4129, 60.2993) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.23
Deep Lilac
#966EBD
ΔE00 5.57
Mediumslateblue
#7B68EE
ΔE00 5.89
Deep Lavender
#8D5EB7
ΔE00 6.61
Amethyst
#9B5FC0
ΔE00 7.15
Purpley
#8756E4
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866DCD #B4CD6D
analogous
#6D84CD #866DCD #B66DCD
triadic
#866DCD #CD866D #6DCD86
tetradic
#866DCD #CD6D84 #B4CD6D #6DCDB6
square
#866DCD #CD6D84 #B4CD6D #6DCDB6
split-complementary
#866DCD #CDB66D #84CD6D
monochromatic
#49318F #6140BC #866DCD #AC9BDD #D2C8EC
Accessibility & contrast
On white
4.13
#866DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#866DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866DCD
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866DCD | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#757F93
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866dcd; /* rgb */ color: rgb(134, 109, 205); /* oklch */ color: oklch(60.2% 0.143 293.6);
Tailwind
colors: {
custom: {
50: '#ac97dd',
500: '#866dcd',
950: '#000000',
},
}SCSS
$custom: #866dcd; $custom-light: #ac97dd; $custom-dark: #000000;
JSON
{
"hex": "#866dcd",
"rgb": {
"r": 134,
"g": 109,
"b": 205
},
"hsl": {
"h": 255.625,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.60153,
"c": 0.143,
"h": 293.6
},
"luminance": 0.20413
}Semantic roles & 50–950 ramp
primary
#866DCD
secondary
#D3DDB9
accent
#BC2996
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83