#873ABA#873ABA
#873ABA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.195 H 308.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #873ABA |
|---|---|
| RGB | rgb(135, 58, 186) |
| HSL | hsl(276, 52%, 48%) |
| HSV | hsv(276, 69%, 73%) |
| CMYK | cmyk(27.4%, 68.8%, 0%, 27.1%) |
| CIE-LAB | lab(40.77, 54.49, -53.95) |
| CIE-LCH | lch(40.77, 76.68, 315.29°) |
| OKLab | oklab(51.34% 0.1219 -0.1527) |
| OKLCH | oklch(51.34% 0.195 308.6) |
| XYZ | xyz(20.3659, 11.7225, 47.6347) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.67
Purply
#983FB2
ΔE00 4.37
Darkviolet
#9400D3
ΔE00 5.56
Blueviolet
#8A2BE2
ΔE00 5.64
Royal Purple
#7851A9
ΔE00 6.51
Purple (survey)
#7E1E9C
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873ABA #6DBA3A
analogous
#473ABA #873ABA #BA3AAD
triadic
#873ABA #BA873A #3ABA87
tetradic
#873ABA #BA473A #6DBA3A #3AADBA
square
#873ABA #BA473A #6DBA3A #3AADBA
split-complementary
#873ABA #ADBA3A #3ABA47
monochromatic
#431D5D #652B8B #873ABA #A463CE #BF92DD
Accessibility & contrast
On white
6.28
#873ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#873ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873ABA
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873ABA | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#7F5676
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #873aba; /* rgb */ color: rgb(135, 58, 186); /* oklch */ color: oklch(51.3% 0.195 308.6);
Tailwind
colors: {
custom: {
50: '#ae76cf',
500: '#873aba',
950: '#000000',
},
}SCSS
$custom: #873aba; $custom-light: #ae76cf; $custom-dark: #000000;
JSON
{
"hex": "#873aba",
"rgb": {
"r": 135,
"g": 58,
"b": 186
},
"hsl": {
"h": 276.094,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.5134,
"c": 0.19542,
"h": 308.6
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#873ABA
secondary
#A1C888
accent
#DC4C85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82