#875FE2#875FE2
#875FE2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.191 H 293.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #875FE2 |
|---|---|
| RGB | rgb(135, 95, 226) |
| HSL | hsl(258, 69%, 63%) |
| HSV | hsv(258, 58%, 89%) |
| CMYK | cmyk(40.3%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(50.48, 45.37, -61.30) |
| CIE-LCH | lch(50.48, 76.26, 306.50°) |
| OKLab | oklab(59.23% 0.0771 -0.1745) |
| OKLCH | oklch(59.23% 0.191 293.8) |
| XYZ | xyz(27.8077, 18.8256, 74.1054) |
| Luminance | 0.1883 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.35
Mediumslateblue
#7B68EE
ΔE00 4.03
Mediumpurple
#9370DB
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 5.64
Lighter Purple
#A55AF4
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FE2 #BAE25F
analogous
#5F78E2 #875FE2 #C95FE2
triadic
#875FE2 #E2875F #5FE287
tetradic
#875FE2 #E25F78 #BAE25F #5FE2C9
square
#875FE2 #E25F78 #BAE25F #5FE2C9
split-complementary
#875FE2 #E2C95F #78E25F
monochromatic
#491EA8 #602BD9 #875FE2 #AE93EB #D5C7F5
Accessibility & contrast
On white
4.41
#875FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#875FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875FE2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875FE2 | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#6F7B97
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #875fe2; /* rgb */ color: rgb(135, 95, 226); /* oklch */ color: oklch(59.2% 0.191 293.8);
Tailwind
colors: {
custom: {
50: '#af8eec',
500: '#875fe2',
950: '#000000',
},
}SCSS
$custom: #875fe2; $custom-light: #af8eec; $custom-dark: #000000;
JSON
{
"hex": "#875fe2",
"rgb": {
"r": 135,
"g": 95,
"b": 226
},
"hsl": {
"h": 258.321,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.59225,
"c": 0.19074,
"h": 293.8
},
"luminance": 0.18826
}Semantic roles & 50–950 ramp
primary
#875FE2
secondary
#D8E6B7
accent
#D11498
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84