#875BB6#875BB6
#875BB6 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.142 H 304.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #875BB6 |
|---|---|
| RGB | rgb(135, 91, 182) |
| HSL | hsl(269, 38%, 54%) |
| HSV | hsv(269, 50%, 71%) |
| CMYK | cmyk(25.8%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(46.99, 36.30, -41.65) |
| CIE-LCH | lch(46.99, 55.25, 311.07°) |
| OKLab | oklab(55.8% 0.0804 -0.1169) |
| OKLCH | oklch(55.8% 0.142 304.5) |
| XYZ | xyz(22.1744, 16.0106, 46.1691) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.62
Royal Purple
#7851A9
ΔE00 4.41
Amethyst
#9B5FC0
ΔE00 4.48
Deep Lilac
#966EBD
ΔE00 6.73
Purply
#983FB2
ΔE00 7.45
Purpley
#8756E4
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875BB6 #8AB65B
analogous
#5B5CB6 #875BB6 #B45BB6
triadic
#875BB6 #B6875B #5BB687
tetradic
#875BB6 #B65B5C #8AB65B #5BB6B4
square
#875BB6 #B65B5C #8AB65B #5BB6B4
split-complementary
#875BB6 #B6B45B #5CB65B
monochromatic
#4A2E68 #694193 #875BB6 #A685C9 #C5B0DC
Accessibility & contrast
On white
5.00
#875BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#875BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875BB6
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875BB6 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406EB9
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#7F6B80
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #875bb6; /* rgb */ color: rgb(135, 91, 182); /* oklch */ color: oklch(55.8% 0.142 304.5);
Tailwind
colors: {
custom: {
50: '#ac8acc',
500: '#875bb6',
950: '#000000',
},
}SCSS
$custom: #875bb6; $custom-light: #ac8acc; $custom-dark: #000000;
JSON
{
"hex": "#875bb6",
"rgb": {
"r": 135,
"g": 91,
"b": 182
},
"hsl": {
"h": 269.011,
"s": 38.397,
"l": 53.529
},
"oklch": {
"l": 0.55801,
"c": 0.14187,
"h": 304.5
},
"luminance": 0.1601
}Semantic roles & 50–950 ramp
primary
#875BB6
secondary
#B7CAA3
accent
#CE5996
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82