#875FE3#875FE3
#875FE3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.192 H 293.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #875FE3 |
|---|---|
| RGB | rgb(135, 95, 227) |
| HSL | hsl(258, 70%, 63%) |
| HSV | hsv(258, 58%, 89%) |
| CMYK | cmyk(40.5%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(50.55, 45.63, -61.76) |
| CIE-LCH | lch(50.55, 76.79, 306.46°) |
| OKLab | oklab(59.29% 0.0771 -0.1758) |
| OKLCH | oklch(59.29% 0.192 293.7) |
| XYZ | xyz(27.9453, 18.8807, 74.8301) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.36
Mediumslateblue
#7B68EE
ΔE00 3.94
Mediumpurple
#9370DB
ΔE00 5.59
Lighter Purple
#A55AF4
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 5.70
Lightish Purple
#A552E6
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FE3 #BBE35F
analogous
#5F79E3 #875FE3 #C95FE3
triadic
#875FE3 #E3875F #5FE387
tetradic
#875FE3 #E35F79 #BBE35F #5FE3C9
square
#875FE3 #E35F79 #BBE35F #5FE3C9
split-complementary
#875FE3 #E3C95F #79E35F
monochromatic
#481EAA #602BDA #875FE3 #AE93EC #D5C7F5
Accessibility & contrast
On white
4.40
#875FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#875FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875FE3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875FE3 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#1D76E0
Tritanopia (blue-blind)
#6F7C98
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #875fe3; /* rgb */ color: rgb(135, 95, 227); /* oklch */ color: oklch(59.3% 0.192 293.7);
Tailwind
colors: {
custom: {
50: '#af8eed',
500: '#875fe3',
950: '#000000',
},
}SCSS
$custom: #875fe3; $custom-light: #af8eed; $custom-dark: #000000;
JSON
{
"hex": "#875fe3",
"rgb": {
"r": 135,
"g": 95,
"b": 227
},
"hsl": {
"h": 258.182,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.59294,
"c": 0.19197,
"h": 293.7
},
"luminance": 0.18881
}Semantic roles & 50–950 ramp
primary
#875FE3
secondary
#D8E7B7
accent
#D21398
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84