#866CCD#866CCD
#866CCD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.145 H 293.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #866CCD |
|---|---|
| RGB | rgb(134, 108, 205) |
| HSL | hsl(256, 49%, 61%) |
| HSV | hsv(256, 47%, 80%) |
| CMYK | cmyk(34.6%, 47.3%, 0%, 19.6%) |
| CIE-LAB | lab(52.06, 32.07, -46.86) |
| CIE-LCH | lch(52.06, 56.78, 304.39°) |
| OKLab | oklab(59.98% 0.0587 -0.1321) |
| OKLCH | oklch(59.98% 0.145 293.9) |
| XYZ | xyz(26.2107, 20.2007, 60.2640) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.30
Deep Lilac
#966EBD
ΔE00 5.58
Mediumslateblue
#7B68EE
ΔE00 5.82
Deep Lavender
#8D5EB7
ΔE00 6.38
Amethyst
#9B5FC0
ΔE00 6.96
Purpley
#8756E4
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CCD #B3CD6C
analogous
#6C83CD #866CCD #B76CCD
triadic
#866CCD #CD866C #6CCD86
tetradic
#866CCD #CD6C83 #B3CD6C #6CCDB7
square
#866CCD #CD6C83 #B3CD6C #6CCDB7
split-complementary
#866CCD #CDB76C #83CD6C
monochromatic
#4A308E #6140BC #866CCD #AC9ADD #D1C7EC
Accessibility & contrast
On white
4.17
#866CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#866CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CCD
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CCD | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#757F93
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866ccd; /* rgb */ color: rgb(134, 108, 205); /* oklch */ color: oklch(60.0% 0.145 293.9);
Tailwind
colors: {
custom: {
50: '#ac96dd',
500: '#866ccd',
950: '#000000',
},
}SCSS
$custom: #866ccd; $custom-light: #ac96dd; $custom-dark: #000000;
JSON
{
"hex": "#866ccd",
"rgb": {
"r": 134,
"g": 108,
"b": 205
},
"hsl": {
"h": 256.082,
"s": 49.239,
"l": 61.373
},
"oklch": {
"l": 0.59975,
"c": 0.14455,
"h": 293.9
},
"luminance": 0.20201
}Semantic roles & 50–950 ramp
primary
#866CCD
secondary
#D3DDB8
accent
#BD2995
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83