#875BBB#875BBB
#875BBB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.148 H 303.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #875BBB |
|---|---|
| RGB | rgb(135, 91, 187) |
| HSL | hsl(268, 41%, 55%) |
| HSV | hsv(268, 51%, 73%) |
| CMYK | cmyk(27.8%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(47.26, 37.53, -44.13) |
| CIE-LCH | lch(47.26, 57.93, 310.38°) |
| OKLab | oklab(56.09% 0.0809 -0.1241) |
| OKLCH | oklch(56.09% 0.148 303.1) |
| XYZ | xyz(22.7004, 16.2209, 48.9391) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.03
Amethyst
#9B5FC0
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 4.75
Purpley
#8756E4
ΔE00 6.62
Deep Lilac
#966EBD
ΔE00 6.83
Light Indigo
#6D5ACF
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875BBB #8FBB5B
analogous
#5B5FBB #875BBB #B75BBB
triadic
#875BBB #BB875B #5BBB87
tetradic
#875BBB #BB5B5F #8FBB5B #5BBBB7
square
#875BBB #BB5B5F #8FBB5B #5BBBB7
split-complementary
#875BBB #BBB75B #5FBB5B
monochromatic
#4B2E6E #694099 #875BBB #A786CD #C6B2DF
Accessibility & contrast
On white
4.95
#875BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#875BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875BBB
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875BBB | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#7E6D82
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #875bbb; /* rgb */ color: rgb(135, 91, 187); /* oklch */ color: oklch(56.1% 0.148 303.1);
Tailwind
colors: {
custom: {
50: '#ac8ad0',
500: '#875bbb',
950: '#000000',
},
}SCSS
$custom: #875bbb; $custom-light: #ac8ad0; $custom-dark: #000000;
JSON
{
"hex": "#875bbb",
"rgb": {
"r": 135,
"g": 91,
"b": 187
},
"hsl": {
"h": 267.5,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.56094,
"c": 0.14813,
"h": 303.1
},
"luminance": 0.16221
}Semantic roles & 50–950 ramp
primary
#875BBB
secondary
#BBCDA5
accent
#D15799
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82