#875BB7#875BB7
#875BB7 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.143 H 304.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #875BB7 |
|---|---|
| RGB | rgb(135, 91, 183) |
| HSL | hsl(269, 39%, 54%) |
| HSV | hsv(269, 50%, 72%) |
| CMYK | cmyk(26.2%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(47.04, 36.55, -42.15) |
| CIE-LCH | lch(47.04, 55.79, 310.93°) |
| OKLab | oklab(55.86% 0.0805 -0.1183) |
| OKLCH | oklch(55.86% 0.143 304.2) |
| XYZ | xyz(22.2782, 16.0520, 46.7153) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.67
Royal Purple
#7851A9
ΔE00 4.46
Amethyst
#9B5FC0
ΔE00 4.46
Deep Lilac
#966EBD
ΔE00 6.74
Purpley
#8756E4
ΔE00 7.36
Light Indigo
#6D5ACF
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875BB7 #8BB75B
analogous
#5B5DB7 #875BB7 #B55BB7
triadic
#875BB7 #B7875B #5BB787
tetradic
#875BB7 #B75B5D #8BB75B #5BB7B5
square
#875BB7 #B75B5D #8BB75B #5BB7B5
split-complementary
#875BB7 #B7B55B #5DB75B
monochromatic
#4B2E69 #694194 #875BB7 #A686CA #C5B0DC
Accessibility & contrast
On white
4.99
#875BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#875BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875BB7
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875BB7 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6EBA
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#7F6B80
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #875bb7; /* rgb */ color: rgb(135, 91, 183); /* oklch */ color: oklch(55.9% 0.143 304.2);
Tailwind
colors: {
custom: {
50: '#ac8acd',
500: '#875bb7',
950: '#000000',
},
}SCSS
$custom: #875bb7; $custom-light: #ac8acd; $custom-dark: #000000;
JSON
{
"hex": "#875bb7",
"rgb": {
"r": 135,
"g": 91,
"b": 183
},
"hsl": {
"h": 268.696,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.55859,
"c": 0.14312,
"h": 304.2
},
"luminance": 0.16052
}Semantic roles & 50–950 ramp
primary
#875BB7
secondary
#B8CBA3
accent
#CF5996
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82