#876BF2#876BF2
#876BF2 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.194 H 289.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #876BF2 |
|---|---|
| RGB | rgb(135, 107, 242) |
| HSL | hsl(252, 84%, 68%) |
| HSV | hsv(252, 56%, 95%) |
| CMYK | cmyk(44.2%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(54.11, 42.99, -64.43) |
| CIE-LCH | lch(54.11, 77.45, 303.71°) |
| OKLab | oklab(62.22% 0.0634 -0.1836) |
| OKLCH | oklch(62.22% 0.194 289) |
| XYZ | xyz(31.2718, 22.0759, 86.6006) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.32
Mediumpurple
#9370DB
ΔE00 4.67
Purpley
#8756E4
ΔE00 6.30
Lighter Purple
#A55AF4
ΔE00 6.56
Periwinkle (survey)
#8E82FE
ΔE00 6.77
Cornflower
#6A79F7
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876BF2 #D6F26B
analogous
#6B92F2 #876BF2 #CA6BF2
triadic
#876BF2 #F2876B #6BF287
tetradic
#876BF2 #F26B92 #D6F26B #6BF2CA
square
#876BF2 #F26B92 #D6F26B #6BF2CA
split-complementary
#876BF2 #F2CA6B #92F26B
monochromatic
#3A12D0 #5933ED #876BF2 #B5A3F7 #E2DCFC
Accessibility & contrast
On white
3.88
#876BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#876BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #876BF2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##876BF2 | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1984F7
Deuteranopia (green-blind)
#1E7EEF
Tritanopia (blue-blind)
#6689A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #876bf2; /* rgb */ color: rgb(135, 107, 242); /* oklch */ color: oklch(62.2% 0.194 289.0);
Tailwind
colors: {
custom: {
50: '#b096f7',
500: '#876bf2',
950: '#000000',
},
}SCSS
$custom: #876bf2; $custom-light: #b096f7; $custom-dark: #000000;
JSON
{
"hex": "#876bf2",
"rgb": {
"r": 135,
"g": 107,
"b": 242
},
"hsl": {
"h": 252.444,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.62221,
"c": 0.19426,
"h": 289
},
"luminance": 0.22077
}Semantic roles & 50–950 ramp
primary
#876BF2
secondary
#E8F1C8
accent
#E005B3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85