#876FC2#876FC2
#876FC2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.125 H 295.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #876FC2 |
|---|---|
| RGB | rgb(135, 111, 194) |
| HSL | hsl(257, 40%, 60%) |
| HSV | hsv(257, 43%, 76%) |
| CMYK | cmyk(30.4%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(52.30, 27.70, -40.18) |
| CIE-LCH | lch(52.30, 48.81, 304.58°) |
| OKLab | oklab(59.99% 0.0542 -0.1126) |
| OKLCH | oklch(59.99% 0.125 295.7) |
| XYZ | xyz(25.4113, 20.4145, 53.6301) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.11
Mediumpurple
#9370DB
ΔE00 4.53
Deep Lavender
#8D5EB7
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.87
Mediumslateblue
#7B68EE
ΔE00 8.09
Wisteria
#A87DC2
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876FC2 #AAC26F
analogous
#6F81C2 #876FC2 #B06FC2
triadic
#876FC2 #C2876F #6FC287
tetradic
#876FC2 #C26F81 #AAC26F #6FC2B0
square
#876FC2 #C26F81 #AAC26F #6FC2B0
split-complementary
#876FC2 #C2B06F #81C26F
monochromatic
#4C3680 #6549AB #876FC2 #AB9AD4 #CFC5E6
Accessibility & contrast
On white
4.13
#876FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#876FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876FC2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876FC2 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#5A7CC0
Tritanopia (blue-blind)
#7A7E8F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #876fc2; /* rgb */ color: rgb(135, 111, 194); /* oklch */ color: oklch(60.0% 0.125 295.7);
Tailwind
colors: {
custom: {
50: '#ac98d5',
500: '#876fc2',
950: '#000000',
},
}SCSS
$custom: #876fc2; $custom-light: #ac98d5; $custom-dark: #000000;
JSON
{
"hex": "#876fc2",
"rgb": {
"r": 135,
"g": 111,
"b": 194
},
"hsl": {
"h": 257.349,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.59991,
"c": 0.125,
"h": 295.7
},
"luminance": 0.20415
}Semantic roles & 50–950 ramp
primary
#876FC2
secondary
#CDD6B6
accent
#D057AD
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83