#873BAE#873BAE
#873BAE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.182 H 312.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #873BAE |
|---|---|
| RGB | rgb(135, 59, 174) |
| HSL | hsl(280, 49%, 46%) |
| HSV | hsv(280, 66%, 68%) |
| CMYK | cmyk(22.4%, 66.1%, 0%, 31.8%) |
| CIE-LAB | lab(40.14, 51.37, -47.88) |
| CIE-LCH | lch(40.14, 70.22, 317.01°) |
| OKLab | oklab(50.63% 0.1218 -0.1349) |
| OKLCH | oklch(50.63% 0.182 312.1) |
| XYZ | xyz(19.1942, 11.3353, 41.2130) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.64
Darkorchid
#9932CC
ΔE00 4.97
Purple (survey)
#7E1E9C
ΔE00 6.00
Royal Purple
#7851A9
ΔE00 6.12
Barney
#AC1DB8
ΔE00 6.63
Medium Purple
#9E43A2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873BAE #62AE3B
analogous
#4D3BAE #873BAE #AE3B9B
triadic
#873BAE #AE873B #3BAE87
tetradic
#873BAE #AE4D3B #62AE3B #3B9BAE
square
#873BAE #AE4D3B #62AE3B #3B9BAE
split-complementary
#873BAE #9BAE3B #3BAE4D
monochromatic
#401C53 #642C80 #873BAE #A45EC8 #BE8CD8
Accessibility & contrast
On white
6.43
#873BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#873BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873BAE
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873BAE | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#83526F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #873bae; /* rgb */ color: rgb(135, 59, 174); /* oklch */ color: oklch(50.6% 0.182 312.1);
Tailwind
colors: {
custom: {
50: '#ad76c7',
500: '#873bae',
950: '#000000',
},
}SCSS
$custom: #873bae; $custom-light: #ad76c7; $custom-dark: #000000;
JSON
{
"hex": "#873bae",
"rgb": {
"r": 135,
"g": 59,
"b": 174
},
"hsl": {
"h": 279.652,
"s": 49.356,
"l": 45.686
},
"oklch": {
"l": 0.50633,
"c": 0.1818,
"h": 312.1
},
"luminance": 0.11335
}Semantic roles & 50–950 ramp
primary
#873BAE
secondary
#98C282
accent
#D94F7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82