#876AEE#876AEE
#876AEE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.191 H 289.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #876AEE |
|---|---|
| RGB | rgb(135, 106, 238) |
| HSL | hsl(253, 80%, 67%) |
| HSV | hsv(253, 55%, 93%) |
| CMYK | cmyk(43.3%, 55.5%, 0%, 6.7%) |
| CIE-LAB | lab(53.63, 42.45, -62.96) |
| CIE-LCH | lch(53.63, 75.93, 303.99°) |
| OKLab | oklab(61.79% 0.0644 -0.1793) |
| OKLCH | oklch(61.79% 0.191 289.8) |
| XYZ | xyz(30.5740, 21.6310, 83.4366) |
| Luminance | 0.2163 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.21
Mediumpurple
#9370DB
ΔE00 4.34
Purpley
#8756E4
ΔE00 5.81
Lighter Purple
#A55AF4
ΔE00 6.38
Periwinkle (survey)
#8E82FE
ΔE00 7.23
Cornflower
#6A79F7
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876AEE #D1EE6A
analogous
#6A8FEE #876AEE #C96AEE
triadic
#876AEE #EE876A #6AEE87
tetradic
#876AEE #EE6A8F #D1EE6A #6AEEC9
square
#876AEE #EE6A8F #D1EE6A #6AEEC9
split-complementary
#876AEE #EEC96A #8FEE6A
monochromatic
#3D17C7 #5B33E8 #876AEE #B3A1F4 #DFD8FB
Accessibility & contrast
On white
3.94
#876AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#876AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876AEE
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876AEE | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F83F2
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#6987A2
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #876aee; /* rgb */ color: rgb(135, 106, 238); /* oklch */ color: oklch(61.8% 0.191 289.8);
Tailwind
colors: {
custom: {
50: '#b095f4',
500: '#876aee',
950: '#000000',
},
}SCSS
$custom: #876aee; $custom-light: #b095f4; $custom-dark: #000000;
JSON
{
"hex": "#876aee",
"rgb": {
"r": 135,
"g": 106,
"b": 238
},
"hsl": {
"h": 253.182,
"s": 79.518,
"l": 67.451
},
"oklch": {
"l": 0.6179,
"c": 0.19056,
"h": 289.8
},
"luminance": 0.21632
}Semantic roles & 50–950 ramp
primary
#876AEE
secondary
#E5EFC5
accent
#DC0AAE
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85