#875AEE#875AEE
#875AEE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.212 H 292.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #875AEE |
|---|---|
| RGB | rgb(135, 90, 238) |
| HSL | hsl(258, 81%, 64%) |
| HSV | hsv(258, 62%, 93%) |
| CMYK | cmyk(43.3%, 62.2%, 0%, 6.7%) |
| CIE-LAB | lab(50.26, 51.31, -68.42) |
| CIE-LCH | lch(50.26, 85.52, 306.87°) |
| OKLab | oklab(59.32% 0.0821 -0.1954) |
| OKLCH | oklch(59.32% 0.212 292.8) |
| XYZ | xyz(29.0762, 18.6354, 82.9374) |
| Luminance | 0.1864 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.88
Mediumslateblue
#7B68EE
ΔE00 4.39
Lighter Purple
#A55AF4
ΔE00 5.34
Lightish Purple
#A552E6
ΔE00 5.74
Light Indigo
#6D5ACF
ΔE00 6.25
Slate Blue
#6A5ACD
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875AEE #C1EE5A
analogous
#5A77EE #875AEE #D15AEE
triadic
#875AEE #EE875A #5AEE87
tetradic
#875AEE #EE5A77 #C1EE5A #5AEED1
square
#875AEE #EE5A77 #C1EE5A #5AEED1
split-complementary
#875AEE #EED15A #77EE5A
monochromatic
#4613BA #5F23E8 #875AEE #AF91F4 #D8C9F9
Accessibility & contrast
On white
4.44
#875AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#875AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875AEE
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875AEE | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#6A7C9C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #875aee; /* rgb */ color: rgb(135, 90, 238); /* oklch */ color: oklch(59.3% 0.212 292.8);
Tailwind
colors: {
custom: {
50: '#b18bf4',
500: '#875aee',
950: '#000000',
},
}SCSS
$custom: #875aee; $custom-light: #b18bf4; $custom-dark: #000000;
JSON
{
"hex": "#875aee",
"rgb": {
"r": 135,
"g": 90,
"b": 238
},
"hsl": {
"h": 258.243,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.59317,
"c": 0.21191,
"h": 292.8
},
"luminance": 0.18636
}Semantic roles & 50–950 ramp
primary
#875AEE
secondary
#DCECB8
accent
#DE089D
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85