#875EBA#875EBA
#875EBA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.142 H 302.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #875EBA |
|---|---|
| RGB | rgb(135, 94, 186) |
| HSL | hsl(267, 40%, 55%) |
| HSV | hsv(267, 49%, 73%) |
| CMYK | cmyk(27.4%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(47.88, 35.57, -42.56) |
| CIE-LCH | lch(47.88, 55.47, 309.89°) |
| OKLab | oklab(56.54% 0.0767 -0.1195) |
| OKLCH | oklch(56.54% 0.142 302.7) |
| XYZ | xyz(22.8553, 16.7015, 48.4645) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.66
Amethyst
#9B5FC0
ΔE00 4.29
Royal Purple
#7851A9
ΔE00 5.24
Deep Lilac
#966EBD
ΔE00 6.01
Purpley
#8756E4
ΔE00 7.03
Light Indigo
#6D5ACF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875EBA #91BA5E
analogous
#5E63BA #875EBA #B55EBA
triadic
#875EBA #BA875E #5EBA87
tetradic
#875EBA #BA5E63 #91BA5E #5EBAB5
square
#875EBA #BA5E63 #91BA5E #5EBAB5
split-complementary
#875EBA #BAB55E #63BA5E
monochromatic
#4B2F6E #694299 #875EBA #A789CC #C7B4DF
Accessibility & contrast
On white
4.84
#875EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#875EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875EBA
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875EBA | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#4D71B8
Tritanopia (blue-blind)
#7E6F83
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #875eba; /* rgb */ color: rgb(135, 94, 186); /* oklch */ color: oklch(56.5% 0.142 302.7);
Tailwind
colors: {
custom: {
50: '#ac8dcf',
500: '#875eba',
950: '#000000',
},
}SCSS
$custom: #875eba; $custom-light: #ac8dcf; $custom-dark: #000000;
JSON
{
"hex": "#875eba",
"rgb": {
"r": 135,
"g": 94,
"b": 186
},
"hsl": {
"h": 266.739,
"s": 40,
"l": 54.902
},
"oklch": {
"l": 0.56537,
"c": 0.14202,
"h": 302.7
},
"luminance": 0.16701
}Semantic roles & 50–950 ramp
primary
#875EBA
secondary
#BCCDA7
accent
#D0589A
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82