#875BB9#875BB9
#875BB9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.146 H 303.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #875BB9 |
|---|---|
| RGB | rgb(135, 91, 185) |
| HSL | hsl(268, 40%, 54%) |
| HSV | hsv(268, 51%, 73%) |
| CMYK | cmyk(27%, 50.8%, 0%, 27.5%) |
| CIE-LAB | lab(47.15, 37.04, -43.14) |
| CIE-LCH | lch(47.15, 56.86, 310.65°) |
| OKLab | oklab(55.98% 0.0807 -0.1212) |
| OKLCH | oklch(55.98% 0.146 303.7) |
| XYZ | xyz(22.4878, 16.1359, 47.8194) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.82
Amethyst
#9B5FC0
ΔE00 4.46
Royal Purple
#7851A9
ΔE00 4.59
Deep Lilac
#966EBD
ΔE00 6.77
Purpley
#8756E4
ΔE00 6.99
Light Indigo
#6D5ACF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875BB9 #8DB95B
analogous
#5B5EB9 #875BB9 #B65BB9
triadic
#875BB9 #B9875B #5BB987
tetradic
#875BB9 #B95B5E #8DB95B #5BB9B6
square
#875BB9 #B95B5E #8DB95B #5BB9B6
split-complementary
#875BB9 #B9B65B #5EB95B
monochromatic
#4B2E6C #694097 #875BB9 #A686CB #C6B1DE
Accessibility & contrast
On white
4.97
#875BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#875BB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875BB9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875BB9 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#7E6C81
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #875bb9; /* rgb */ color: rgb(135, 91, 185); /* oklch */ color: oklch(56.0% 0.146 303.7);
Tailwind
colors: {
custom: {
50: '#ac8ace',
500: '#875bb9',
950: '#000000',
},
}SCSS
$custom: #875bb9; $custom-light: #ac8ace; $custom-dark: #000000;
JSON
{
"hex": "#875bb9",
"rgb": {
"r": 135,
"g": 91,
"b": 185
},
"hsl": {
"h": 268.085,
"s": 40.171,
"l": 54.118
},
"oklch": {
"l": 0.55976,
"c": 0.14563,
"h": 303.7
},
"luminance": 0.16136
}Semantic roles & 50–950 ramp
primary
#875BB9
secondary
#B9CCA4
accent
#D05898
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82