#876DF7#876DF7
#876DF7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.198 H 288.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #876DF7 |
|---|---|
| RGB | rgb(135, 109, 247) |
| HSL | hsl(251, 90%, 70%) |
| HSV | hsv(251, 56%, 97%) |
| CMYK | cmyk(45.3%, 55.9%, 0%, 3.1%) |
| CIE-LAB | lab(54.87, 43.25, -65.98) |
| CIE-LCH | lch(54.87, 78.89, 303.24°) |
| OKLab | oklab(62.88% 0.0612 -0.1882) |
| OKLCH | oklch(62.88% 0.198 288) |
| XYZ | xyz(32.2440, 22.8023, 90.6800) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.78
Mediumpurple
#9370DB
ΔE00 5.14
Periwinkle (survey)
#8E82FE
ΔE00 6.03
Cornflower
#6A79F7
ΔE00 6.71
Lighter Purple
#A55AF4
ΔE00 7.00
Purpley
#8756E4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876DF7 #DDF76D
analogous
#6D98F7 #876DF7 #CC6DF7
triadic
#876DF7 #F7876D #6DF787
tetradic
#876DF7 #F76D98 #DDF76D #6DF7CC
square
#876DF7 #F76D98 #DDF76D #6DF7CC
split-complementary
#876DF7 #F7CC6D #98F76D
monochromatic
#340CDD #5733F4 #876DF7 #B7A7FA #E6E1FD
Accessibility & contrast
On white
3.78
#876DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#876DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876DF7
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876DF7 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1586FC
Deuteranopia (green-blind)
#1780F4
Tritanopia (blue-blind)
#648CA8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #876df7; /* rgb */ color: rgb(135, 109, 247); /* oklch */ color: oklch(62.9% 0.198 288.0);
Tailwind
colors: {
custom: {
50: '#b197fb',
500: '#876df7',
950: '#000000',
},
}SCSS
$custom: #876df7; $custom-light: #b197fb; $custom-dark: #000000;
JSON
{
"hex": "#876df7",
"rgb": {
"r": 135,
"g": 109,
"b": 247
},
"hsl": {
"h": 251.304,
"s": 89.61,
"l": 69.804
},
"oklch": {
"l": 0.62884,
"c": 0.19789,
"h": 288
},
"luminance": 0.22804
}Semantic roles & 50–950 ramp
primary
#876DF7
secondary
#ECF3CC
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85