#876FCB#876FCB
#876FCB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.137 H 293.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #876FCB |
|---|---|
| RGB | rgb(135, 111, 203) |
| HSL | hsl(256, 47%, 62%) |
| HSV | hsv(256, 45%, 80%) |
| CMYK | cmyk(33.5%, 45.3%, 0%, 20.4%) |
| CIE-LAB | lab(52.76, 30.05, -44.60) |
| CIE-LCH | lch(52.76, 53.78, 303.97°) |
| OKLab | oklab(60.49% 0.0556 -0.1255) |
| OKLCH | oklch(60.49% 0.137 293.9) |
| XYZ | xyz(26.4529, 20.8311, 59.1154) |
| Luminance | 0.2083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.26
Deep Lilac
#966EBD
ΔE00 5.14
Mediumslateblue
#7B68EE
ΔE00 6.50
Deep Lavender
#8D5EB7
ΔE00 6.80
Amethyst
#9B5FC0
ΔE00 7.28
Purpley
#8756E4
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876FCB #B3CB6F
analogous
#6F85CB #876FCB #B56FCB
triadic
#876FCB #CB876F #6FCB87
tetradic
#876FCB #CB6F85 #B3CB6F #6FCBB5
square
#876FCB #CB6F85 #B3CB6F #6FCBB5
split-complementary
#876FCB #CBB56F #85CB6F
monochromatic
#4A338D #6243BA #876FCB #AC9CDB #D2C9EB
Accessibility & contrast
On white
4.06
#876FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#876FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876FCB
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876FCB | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#778093
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #876fcb; /* rgb */ color: rgb(135, 111, 203); /* oklch */ color: oklch(60.5% 0.137 293.9);
Tailwind
colors: {
custom: {
50: '#ad98db',
500: '#876fcb',
950: '#000000',
},
}SCSS
$custom: #876fcb; $custom-light: #ad98db; $custom-dark: #000000;
JSON
{
"hex": "#876fcb",
"rgb": {
"r": 135,
"g": 111,
"b": 203
},
"hsl": {
"h": 255.652,
"s": 46.939,
"l": 61.569
},
"oklch": {
"l": 0.60489,
"c": 0.13726,
"h": 293.9
},
"luminance": 0.20832
}Semantic roles & 50–950 ramp
primary
#876FCB
secondary
#D3DCBA
accent
#BA2B95
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83