#876BCE#876BCE
#876BCE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.147 H 294.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #876BCE |
|---|---|
| RGB | rgb(135, 107, 206) |
| HSL | hsl(257, 50%, 61%) |
| HSV | hsv(257, 48%, 81%) |
| CMYK | cmyk(34.5%, 48.1%, 0%, 19.2%) |
| CIE-LAB | lab(51.97, 33.18, -47.56) |
| CIE-LCH | lch(51.97, 57.99, 304.90°) |
| OKLab | oklab(59.95% 0.0613 -0.1341) |
| OKLCH | oklch(59.95% 0.148 294.6) |
| XYZ | xyz(26.3871, 20.1220, 60.8743) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.19
Deep Lilac
#966EBD
ΔE00 5.57
Mediumslateblue
#7B68EE
ΔE00 5.73
Deep Lavender
#8D5EB7
ΔE00 6.18
Amethyst
#9B5FC0
ΔE00 6.67
Purpley
#8756E4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876BCE #B2CE6B
analogous
#6B81CE #876BCE #B96BCE
triadic
#876BCE #CE876B #6BCE87
tetradic
#876BCE #CE6B81 #B2CE6B #6BCEB9
square
#876BCE #CE6B81 #B2CE6B #6BCEB9
split-complementary
#876BCE #CEB96B #81CE6B
monochromatic
#4A2F8F #623FBD #876BCE #AC99DD #D2C7EC
Accessibility & contrast
On white
4.18
#876BCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#876BCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876BCE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876BCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876BCE | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#767E93
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #876bce; /* rgb */ color: rgb(135, 107, 206); /* oklch */ color: oklch(59.9% 0.147 294.6);
Tailwind
colors: {
custom: {
50: '#ad96dd',
500: '#876bce',
950: '#000000',
},
}SCSS
$custom: #876bce; $custom-light: #ad96dd; $custom-dark: #000000;
JSON
{
"hex": "#876bce",
"rgb": {
"r": 135,
"g": 107,
"b": 206
},
"hsl": {
"h": 256.97,
"s": 50.254,
"l": 61.373
},
"oklch": {
"l": 0.59949,
"c": 0.1475,
"h": 294.6
},
"luminance": 0.20123
}Semantic roles & 50–950 ramp
primary
#876BCE
secondary
#D2DDB8
accent
#BE2893
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83