#876CD5#876CD5
#876CD5 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.5% C 0.155 H 293.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #876CD5 |
|---|---|
| RGB | rgb(135, 108, 213) |
| HSL | hsl(255, 56%, 63%) |
| HSV | hsv(255, 49%, 84%) |
| CMYK | cmyk(36.6%, 49.3%, 0%, 16.5%) |
| CIE-LAB | lab(52.60, 34.47, -50.55) |
| CIE-LCH | lch(52.60, 61.18, 304.29°) |
| OKLab | oklab(60.54% 0.0608 -0.1429) |
| OKLCH | oklch(60.54% 0.155 293) |
| XYZ | xyz(27.3613, 20.6795, 65.4879) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.68
Mediumslateblue
#7B68EE
ΔE00 4.69
Purpley
#8756E4
ΔE00 6.46
Deep Lilac
#966EBD
ΔE00 6.47
Deep Lavender
#8D5EB7
ΔE00 7.24
Light Indigo
#6D5ACF
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876CD5 #BAD56C
analogous
#6C85D5 #876CD5 #BC6CD5
triadic
#876CD5 #D5876C #6CD587
tetradic
#876CD5 #D56C85 #BAD56C #6CD5BC
square
#876CD5 #D56C85 #BAD56C #6CD5BC
split-complementary
#876CD5 #D5BC6C #85D56C
monochromatic
#492C9A #603CC7 #876CD5 #AE9CE3 #D5CBF0
Accessibility & contrast
On white
4.09
#876CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#876CD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876CD5
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876CD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876CD5 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447FD9
Deuteranopia (green-blind)
#497CD3
Tritanopia (blue-blind)
#748196
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #876cd5; /* rgb */ color: rgb(135, 108, 213); /* oklch */ color: oklch(60.5% 0.155 293.0);
Tailwind
colors: {
custom: {
50: '#ae96e2',
500: '#876cd5',
950: '#000000',
},
}SCSS
$custom: #876cd5; $custom-light: #ae96e2; $custom-dark: #000000;
JSON
{
"hex": "#876cd5",
"rgb": {
"r": 135,
"g": 108,
"b": 213
},
"hsl": {
"h": 255.429,
"s": 55.556,
"l": 62.941
},
"oklch": {
"l": 0.6054,
"c": 0.15527,
"h": 293
},
"luminance": 0.2068
}Semantic roles & 50–950 ramp
primary
#876CD5
secondary
#D8E1BB
accent
#C3229A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83