#875CF7#875CF7
#875CF7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.220 H 291.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #875CF7 |
|---|---|
| RGB | rgb(135, 92, 247) |
| HSL | hsl(257, 91%, 66%) |
| HSV | hsv(257, 63%, 97%) |
| CMYK | cmyk(45.3%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(51.29, 52.66, -71.77) |
| CIE-LCH | lch(51.29, 89.02, 306.27°) |
| OKLab | oklab(60.27% 0.0792 -0.2053) |
| OKLCH | oklch(60.27% 0.22 291.1) |
| XYZ | xyz(30.6026, 19.5195, 90.1329) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.27
Mediumslateblue
#7B68EE
ΔE00 3.87
Lighter Purple
#A55AF4
ΔE00 5.26
Lightish Purple
#A552E6
ΔE00 6.30
Mediumpurple
#9370DB
ΔE00 7.09
Light Indigo
#6D5ACF
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875CF7 #CCF75C
analogous
#5C7FF7 #875CF7 #D45CF7
triadic
#875CF7 #F7875C #5CF787
tetradic
#875CF7 #F75C7F #CCF75C #5CF7D4
square
#875CF7 #F75C7F #CCF75C #5CF7D4
split-complementary
#875CF7 #F7D45C #7FF75C
monochromatic
#410ACE #5C22F4 #875CF7 #B296FA #DDD1FD
Accessibility & contrast
On white
4.28
#875CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#875CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875CF7
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875CF7 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#6581A1
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #875cf7; /* rgb */ color: rgb(135, 92, 247); /* oklch */ color: oklch(60.3% 0.220 291.1);
Tailwind
colors: {
custom: {
50: '#b28cfb',
500: '#875cf7',
950: '#000000',
},
}SCSS
$custom: #875cf7; $custom-light: #b28cfb; $custom-dark: #000000;
JSON
{
"hex": "#875cf7",
"rgb": {
"r": 135,
"g": 92,
"b": 247
},
"hsl": {
"h": 256.645,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.60265,
"c": 0.22002,
"h": 291.1
},
"luminance": 0.19521
}Semantic roles & 50–950 ramp
primary
#875CF7
secondary
#E3F1BE
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85