#875AF3#875AF3
#875AF3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.218 H 292.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #875AF3 |
|---|---|
| RGB | rgb(135, 90, 243) |
| HSL | hsl(258, 86%, 65%) |
| HSV | hsv(258, 63%, 95%) |
| CMYK | cmyk(44.4%, 63%, 0%, 4.7%) |
| CIE-LAB | lab(50.61, 52.65, -70.64) |
| CIE-LCH | lch(50.61, 88.10, 306.69°) |
| OKLab | oklab(59.68% 0.0816 -0.2019) |
| OKLCH | oklch(59.68% 0.218 292) |
| XYZ | xyz(29.8210, 18.9333, 86.8599) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.48
Mediumslateblue
#7B68EE
ΔE00 4.29
Lighter Purple
#A55AF4
ΔE00 5.28
Lightish Purple
#A552E6
ΔE00 5.95
Light Indigo
#6D5ACF
ΔE00 6.71
Mediumpurple
#9370DB
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875AF3 #C6F35A
analogous
#5A79F3 #875AF3 #D35AF3
triadic
#875AF3 #F3875A #5AF387
tetradic
#875AF3 #F35A79 #C6F35A #5AF3D3
square
#875AF3 #F35A79 #C6F35A #5AF3D3
split-complementary
#875AF3 #F3D35A #79F35A
monochromatic
#440EC4 #5E21EF #875AF3 #B093F7 #DACCFB
Accessibility & contrast
On white
4.39
#875AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#875AF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875AF3
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875AF3 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#677E9E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #875af3; /* rgb */ color: rgb(135, 90, 243); /* oklch */ color: oklch(59.7% 0.218 292.0);
Tailwind
colors: {
custom: {
50: '#b18bf8',
500: '#875af3',
950: '#000000',
},
}SCSS
$custom: #875af3; $custom-light: #b18bf8; $custom-dark: #000000;
JSON
{
"hex": "#875af3",
"rgb": {
"r": 135,
"g": 90,
"b": 243
},
"hsl": {
"h": 257.647,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.59683,
"c": 0.21781,
"h": 292
},
"luminance": 0.18934
}Semantic roles & 50–950 ramp
primary
#875AF3
secondary
#DFEEBB
accent
#E303A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85