#875FB2#875FB2
#875FB2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.130 H 304.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #875FB2 |
|---|---|
| RGB | rgb(135, 95, 178) |
| HSL | hsl(269, 35%, 54%) |
| HSV | hsv(269, 47%, 70%) |
| CMYK | cmyk(24.2%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(47.69, 33.03, -38.21) |
| CIE-LCH | lch(47.69, 50.51, 310.84°) |
| OKLab | oklab(56.25% 0.0743 -0.1068) |
| OKLCH | oklch(56.25% 0.13 304.8) |
| XYZ | xyz(22.1181, 16.5498, 44.1401) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.48
Amethyst
#9B5FC0
ΔE00 4.48
Royal Purple
#7851A9
ΔE00 5.19
Deep Lilac
#966EBD
ΔE00 5.69
Dark Lavender
#856798
ΔE00 7.28
Light Indigo
#6D5ACF
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875FB2 #8AB25F
analogous
#5F60B2 #875FB2 #B05FB2
triadic
#875FB2 #B2875F #5FB287
tetradic
#875FB2 #B25F60 #8AB25F #5FB2B0
square
#875FB2 #B25F60 #8AB25F #5FB2B0
split-complementary
#875FB2 #B2B05F #60B25F
monochromatic
#4A3166 #69458F #875FB2 #A688C6 #C5B2DA
Accessibility & contrast
On white
4.87
#875FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#875FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875FB2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875FB2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#806D80
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #875fb2; /* rgb */ color: rgb(135, 95, 178); /* oklch */ color: oklch(56.3% 0.130 304.8);
Tailwind
colors: {
custom: {
50: '#ac8dc9',
500: '#875fb2',
950: '#000000',
},
}SCSS
$custom: #875fb2; $custom-light: #ac8dc9; $custom-dark: #000000;
JSON
{
"hex": "#875fb2",
"rgb": {
"r": 135,
"g": 95,
"b": 178
},
"hsl": {
"h": 268.916,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.56254,
"c": 0.13015,
"h": 304.8
},
"luminance": 0.1655
}Semantic roles & 50–950 ramp
primary
#875FB2
secondary
#B7C8A5
accent
#CB5D96
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82