#873AC3#873AC3
#873AC3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.205 H 306.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #873AC3 |
|---|---|
| RGB | rgb(135, 58, 195) |
| HSL | hsl(274, 54%, 50%) |
| HSV | hsv(274, 70%, 76%) |
| CMYK | cmyk(30.8%, 70.3%, 0%, 23.5%) |
| CIE-LAB | lab(41.40, 56.53, -58.19) |
| CIE-LCH | lch(41.40, 81.13, 314.17°) |
| OKLab | oklab(51.99% 0.1207 -0.1652) |
| OKLCH | oklch(51.99% 0.205 306.2) |
| XYZ | xyz(21.3529, 12.1173, 52.8332) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.17
Blueviolet
#8A2BE2
ΔE00 4.35
Darkviolet
#9400D3
ΔE00 5.07
Purply
#983FB2
ΔE00 5.19
Violet (survey)
#9A0EEA
ΔE00 5.91
Bluish Purple
#703BE7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873AC3 #76C33A
analogous
#433AC3 #873AC3 #C33ABA
triadic
#873AC3 #C3873A #3AC387
tetradic
#873AC3 #C3433A #76C33A #3ABAC3
square
#873AC3 #C3433A #76C33A #3ABAC3
split-complementary
#873AC3 #BAC33A #3AC343
monochromatic
#461E65 #662C94 #873AC3 #A468D2 #C097E0
Accessibility & contrast
On white
6.13
#873AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#873AC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873AC3
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873AC3 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0362C0
Tritanopia (blue-blind)
#7D597A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873ac3; /* rgb */ color: rgb(135, 58, 195); /* oklch */ color: oklch(52.0% 0.205 306.2);
Tailwind
colors: {
custom: {
50: '#af76d6',
500: '#873ac3',
950: '#000000',
},
}SCSS
$custom: #873ac3; $custom-light: #af76d6; $custom-dark: #000000;
JSON
{
"hex": "#873ac3",
"rgb": {
"r": 135,
"g": 58,
"b": 195
},
"hsl": {
"h": 273.723,
"s": 54.15,
"l": 49.608
},
"oklch": {
"l": 0.51989,
"c": 0.20462,
"h": 306.2
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#873AC3
secondary
#A9CC8D
accent
#DE4A8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83