#875AF2#875AF2
#875AF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.217 H 292.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #875AF2 |
|---|---|
| RGB | rgb(135, 90, 242) |
| HSL | hsl(258, 85%, 65%) |
| HSV | hsv(258, 63%, 95%) |
| CMYK | cmyk(44.2%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(50.54, 52.38, -70.20) |
| CIE-LCH | lch(50.54, 87.59, 306.73°) |
| OKLab | oklab(59.61% 0.0817 -0.2006) |
| OKLCH | oklch(59.61% 0.217 292.2) |
| XYZ | xyz(29.6704, 18.8731, 86.0668) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.36
Mediumslateblue
#7B68EE
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 5.29
Lightish Purple
#A552E6
ΔE00 5.90
Light Indigo
#6D5ACF
ΔE00 6.62
Slate Blue
#6A5ACD
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875AF2 #C5F25A
analogous
#5A79F2 #875AF2 #D35AF2
triadic
#875AF2 #F2875A #5AF287
tetradic
#875AF2 #F25A79 #C5F25A #5AF2D3
square
#875AF2 #F25A79 #C5F25A #5AF2D3
split-complementary
#875AF2 #F2D35A #79F25A
monochromatic
#440FC2 #5E21EE #875AF2 #B093F6 #DACBFB
Accessibility & contrast
On white
4.40
#875AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#875AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875AF2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875AF2 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 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)
#007AF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#687E9E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #875af2; /* rgb */ color: rgb(135, 90, 242); /* oklch */ color: oklch(59.6% 0.217 292.2);
Tailwind
colors: {
custom: {
50: '#b18bf7',
500: '#875af2',
950: '#000000',
},
}SCSS
$custom: #875af2; $custom-light: #b18bf7; $custom-dark: #000000;
JSON
{
"hex": "#875af2",
"rgb": {
"r": 135,
"g": 90,
"b": 242
},
"hsl": {
"h": 257.763,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.59609,
"c": 0.21663,
"h": 292.2
},
"luminance": 0.18874
}Semantic roles & 50–950 ramp
primary
#875AF2
secondary
#DEEEBA
accent
#E204A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85