#876EF3#876EF3
#876EF3 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.191 H 288.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #876EF3 |
|---|---|
| RGB | rgb(135, 110, 243) |
| HSL | hsl(251, 85%, 69%) |
| HSV | hsv(251, 55%, 95%) |
| CMYK | cmyk(44.4%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(54.84, 41.56, -63.81) |
| CIE-LCH | lch(54.84, 76.15, 303.08°) |
| OKLab | oklab(62.78% 0.06 -0.1818) |
| OKLCH | oklch(62.78% 0.191 288.3) |
| XYZ | xyz(31.7407, 22.7726, 87.4998) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.75
Mediumpurple
#9370DB
ΔE00 4.68
Periwinkle (survey)
#8E82FE
ΔE00 5.91
Cornflower
#6A79F7
ΔE00 6.63
Lighter Purple
#A55AF4
ΔE00 7.14
Purpley
#8756E4
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876EF3 #DAF36E
analogous
#6E98F3 #876EF3 #CA6EF3
triadic
#876EF3 #F3876E #6EF387
tetradic
#876EF3 #F36E98 #DAF36E #6EF3CA
square
#876EF3 #F36E98 #DAF36E #6EF3CA
split-complementary
#876EF3 #F3CA6E #98F36E
monochromatic
#3612D5 #5835EE #876EF3 #B6A7F8 #E5DFFC
Accessibility & contrast
On white
3.78
#876EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#876EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876EF3
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876EF3 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2486F8
Deuteranopia (green-blind)
#2580F0
Tritanopia (blue-blind)
#668BA6
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #876ef3; /* rgb */ color: rgb(135, 110, 243); /* oklch */ color: oklch(62.8% 0.191 288.3);
Tailwind
colors: {
custom: {
50: '#b098f8',
500: '#876ef3',
950: '#000000',
},
}SCSS
$custom: #876ef3; $custom-light: #b098f8; $custom-dark: #000000;
JSON
{
"hex": "#876ef3",
"rgb": {
"r": 135,
"g": 110,
"b": 243
},
"hsl": {
"h": 251.278,
"s": 84.713,
"l": 69.216
},
"oklch": {
"l": 0.62781,
"c": 0.19145,
"h": 288.3
},
"luminance": 0.22774
}Semantic roles & 50–950 ramp
primary
#876EF3
secondary
#EAF2CB
accent
#E104B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85