#873AC0#873AC0
#873AC0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.202 H 306.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #873AC0 |
|---|---|
| RGB | rgb(135, 58, 192) |
| HSL | hsl(274, 54%, 49%) |
| HSV | hsv(274, 70%, 75%) |
| CMYK | cmyk(29.7%, 69.8%, 0%, 24.7%) |
| CIE-LAB | lab(41.19, 55.85, -56.79) |
| CIE-LCH | lch(41.19, 79.65, 314.52°) |
| OKLab | oklab(51.77% 0.1212 -0.1611) |
| OKLCH | oklch(51.77% 0.202 306.9) |
| XYZ | xyz(21.0171, 11.9830, 51.0647) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.28
Blueviolet
#8A2BE2
ΔE00 4.77
Purply
#983FB2
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 5.19
Violet (survey)
#9A0EEA
ΔE00 6.23
Royal Purple
#7851A9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873AC0 #73C03A
analogous
#443AC0 #873AC0 #C03AB6
triadic
#873AC0 #C0873A #3AC087
tetradic
#873AC0 #C0443A #73C03A #3AB6C0
square
#873AC0 #C0443A #73C03A #3AB6C0
split-complementary
#873AC0 #B6C03A #3AC044
monochromatic
#451E62 #662C91 #873AC0 #A466D1 #C095DF
Accessibility & contrast
On white
6.18
#873AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#873AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873AC0
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873AC0 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#7D5879
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873ac0; /* rgb */ color: rgb(135, 58, 192); /* oklch */ color: oklch(51.8% 0.202 306.9);
Tailwind
colors: {
custom: {
50: '#af76d4',
500: '#873ac0',
950: '#000000',
},
}SCSS
$custom: #873ac0; $custom-light: #af76d4; $custom-dark: #000000;
JSON
{
"hex": "#873ac0",
"rgb": {
"r": 135,
"g": 58,
"b": 192
},
"hsl": {
"h": 274.478,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.5177,
"c": 0.20156,
"h": 306.9
},
"luminance": 0.11983
}Semantic roles & 50–950 ramp
primary
#873AC0
secondary
#A6CA8B
accent
#DD4B89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83