#873AAA#873AAA
#873AAA is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.2% C 0.179 H 313.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #873AAA |
|---|---|
| RGB | rgb(135, 58, 170) |
| HSL | hsl(281, 49%, 45%) |
| HSV | hsv(281, 66%, 67%) |
| CMYK | cmyk(20.6%, 65.9%, 0%, 33.3%) |
| CIE-LAB | lab(39.71, 50.96, -46.19) |
| CIE-LCH | lch(39.71, 68.78, 317.82°) |
| OKLab | oklab(50.25% 0.1232 -0.13) |
| OKLCH | oklch(50.25% 0.179 313.5) |
| XYZ | xyz(18.7592, 11.0798, 39.1729) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.72
Darkorchid
#9932CC
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 5.58
Royal Purple
#7851A9
ΔE00 6.35
Medium Purple
#9E43A2
ΔE00 6.38
Barney
#AC1DB8
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873AAA #5DAA3A
analogous
#4F3AAA #873AAA #AA3A95
triadic
#873AAA #AA873A #3AAA87
tetradic
#873AAA #AA4F3A #5DAA3A #3A95AA
square
#873AAA #AA4F3A #5DAA3A #3A95AA
split-complementary
#873AAA #95AA3A #3AAA4F
monochromatic
#3F1B4F #632A7C #873AAA #A55AC7 #BE88D6
Accessibility & contrast
On white
6.53
#873AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#873AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873AAA
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873AAA | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#84506D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #873aaa; /* rgb */ color: rgb(135, 58, 170); /* oklch */ color: oklch(50.2% 0.179 313.5);
Tailwind
colors: {
custom: {
50: '#ad76c4',
500: '#873aaa',
950: '#000000',
},
}SCSS
$custom: #873aaa; $custom-light: #ad76c4; $custom-dark: #000000;
JSON
{
"hex": "#873aaa",
"rgb": {
"r": 135,
"g": 58,
"b": 170
},
"hsl": {
"h": 281.25,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.50245,
"c": 0.17909,
"h": 313.5
},
"luminance": 0.11079
}Semantic roles & 50–950 ramp
primary
#873AAA
secondary
#94C17F
accent
#D94F7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82