#876BCD#876BCD
#876BCD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.9% C 0.146 H 294.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #876BCD |
|---|---|
| RGB | rgb(135, 107, 205) |
| HSL | hsl(257, 49%, 61%) |
| HSV | hsv(257, 48%, 80%) |
| CMYK | cmyk(34.1%, 47.8%, 0%, 19.6%) |
| CIE-LAB | lab(51.92, 32.92, -47.08) |
| CIE-LCH | lch(51.92, 57.45, 304.96°) |
| OKLab | oklab(59.89% 0.0612 -0.1327) |
| OKLCH | oklch(59.89% 0.146 294.8) |
| XYZ | xyz(26.2660, 20.0736, 60.2365) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.27
Deep Lilac
#966EBD
ΔE00 5.44
Mediumslateblue
#7B68EE
ΔE00 5.89
Deep Lavender
#8D5EB7
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.59
Purpley
#8756E4
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876BCD #B1CD6B
analogous
#6B80CD #876BCD #B86BCD
triadic
#876BCD #CD876B #6BCD87
tetradic
#876BCD #CD6B80 #B1CD6B #6BCDB8
square
#876BCD #CD6B80 #B1CD6B #6BCDB8
split-complementary
#876BCD #CDB86B #80CD6B
monochromatic
#4B308E #633FBB #876BCD #AC99DC #D1C6EC
Accessibility & contrast
On white
4.19
#876BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#876BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876BCD
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876BCD | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#777E92
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #876bcd; /* rgb */ color: rgb(135, 107, 205); /* oklch */ color: oklch(59.9% 0.146 294.8);
Tailwind
colors: {
custom: {
50: '#ad96dd',
500: '#876bcd',
950: '#000000',
},
}SCSS
$custom: #876bcd; $custom-light: #ad96dd; $custom-dark: #000000;
JSON
{
"hex": "#876bcd",
"rgb": {
"r": 135,
"g": 107,
"b": 205
},
"hsl": {
"h": 257.143,
"s": 49.495,
"l": 61.176
},
"oklch": {
"l": 0.5989,
"c": 0.14617,
"h": 294.8
},
"luminance": 0.20074
}Semantic roles & 50–950 ramp
primary
#876BCD
secondary
#D2DCB8
accent
#BD2992
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100D15
muted
#7F7E83