#875BF6#875BF6
#875BF6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.220 H 291.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #875BF6 |
|---|---|
| RGB | rgb(135, 91, 246) |
| HSL | hsl(257, 90%, 66%) |
| HSV | hsv(257, 63%, 96%) |
| CMYK | cmyk(45.1%, 63%, 0%, 3.5%) |
| CIE-LAB | lab(51.02, 52.92, -71.65) |
| CIE-LCH | lch(51.02, 89.08, 306.45°) |
| OKLab | oklab(60.05% 0.0803 -0.2049) |
| OKLCH | oklch(60.05% 0.22 291.4) |
| XYZ | xyz(30.3627, 19.2859, 89.2937) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 4.07
Lighter Purple
#A55AF4
ΔE00 5.26
Lightish Purple
#A552E6
ΔE00 6.17
Light Indigo
#6D5ACF
ΔE00 7.05
Mediumpurple
#9370DB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875BF6 #CAF65B
analogous
#5B7CF6 #875BF6 #D45BF6
triadic
#875BF6 #F6875B #5BF687
tetradic
#875BF6 #F65B7C #CAF65B #5BF6D4
square
#875BF6 #F65B7C #CAF65B #5BF6D4
split-complementary
#875BF6 #F6D45B #7CF65B
monochromatic
#420BCB #5D21F3 #875BF6 #B195F9 #DCCFFC
Accessibility & contrast
On white
4.32
#875BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#875BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #875BF6
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##875BF6 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#6580A0
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #875bf6; /* rgb */ color: rgb(135, 91, 246); /* oklch */ color: oklch(60.0% 0.220 291.4);
Tailwind
colors: {
custom: {
50: '#b28cfa',
500: '#875bf6',
950: '#000000',
},
}SCSS
$custom: #875bf6; $custom-light: #b28cfa; $custom-dark: #000000;
JSON
{
"hex": "#875bf6",
"rgb": {
"r": 135,
"g": 91,
"b": 246
},
"hsl": {
"h": 257.032,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.60047,
"c": 0.2201,
"h": 291.4
},
"luminance": 0.19287
}Semantic roles & 50–950 ramp
primary
#875BF6
secondary
#E1F0BD
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85