#875AAA#875AAA
#875AAA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.129 H 308.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #875AAA |
|---|---|
| RGB | rgb(135, 90, 170) |
| HSL | hsl(274, 32%, 51%) |
| HSV | hsv(274, 47%, 67%) |
| CMYK | cmyk(20.6%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(46.13, 33.99, -35.98) |
| CIE-LCH | lch(46.13, 49.50, 313.37°) |
| OKLab | oklab(54.96% 0.0804 -0.1003) |
| OKLCH | oklch(54.96% 0.129 308.7) |
| XYZ | xyz(20.9021, 15.3658, 39.8872) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.69
Royal Purple
#7851A9
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 5.32
Dark Lavender
#856798
ΔE00 6.96
Purply
#983FB2
ΔE00 7.21
Deep Lilac
#966EBD
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#875AAA #7DAA5A
analogous
#5F5AAA #875AAA #AA5AA5
triadic
#875AAA #AA875A #5AAA87
tetradic
#875AAA #AA5F5A #7DAA5A #5AA5AA
square
#875AAA #AA5F5A #7DAA5A #5AA5AA
split-complementary
#875AAA #A5AA5A #5AAA5F
monochromatic
#482F5B #674483 #875AAA #A482BF #C2ABD4
Accessibility & contrast
On white
5.16
#875AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#875AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #875AAA
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##875AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##875AAA | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476BAD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#82677A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #875aaa; /* rgb */ color: rgb(135, 90, 170); /* oklch */ color: oklch(55.0% 0.129 308.7);
Tailwind
colors: {
custom: {
50: '#ac8ac3',
500: '#875aaa',
950: '#000000',
},
}SCSS
$custom: #875aaa; $custom-light: #ac8ac3; $custom-dark: #000000;
JSON
{
"hex": "#875aaa",
"rgb": {
"r": 135,
"g": 90,
"b": 170
},
"hsl": {
"h": 273.75,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.54956,
"c": 0.12856,
"h": 308.7
},
"luminance": 0.15366
}Semantic roles & 50–950 ramp
primary
#875AAA
secondary
#AEC29E
accent
#C8608D
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81