#873AC2#873AC2
#873AC2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.204 H 306.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #873AC2 |
|---|---|
| RGB | rgb(135, 58, 194) |
| HSL | hsl(274, 54%, 49%) |
| HSV | hsv(274, 70%, 76%) |
| CMYK | cmyk(30.4%, 70.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.33, 56.30, -57.72) |
| CIE-LCH | lch(41.33, 80.64, 314.29°) |
| OKLab | oklab(51.92% 0.1209 -0.1638) |
| OKLCH | oklch(51.92% 0.204 306.4) |
| XYZ | xyz(21.2402, 12.0723, 52.2397) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.20
Blueviolet
#8A2BE2
ΔE00 4.49
Purply
#983FB2
ΔE00 5.09
Darkviolet
#9400D3
ΔE00 5.10
Violet (survey)
#9A0EEA
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873AC2 #75C23A
analogous
#433AC2 #873AC2 #C23AB9
triadic
#873AC2 #C2873A #3AC287
tetradic
#873AC2 #C2433A #75C23A #3AB9C2
square
#873AC2 #C2433A #75C23A #3AB9C2
split-complementary
#873AC2 #B9C23A #3AC243
monochromatic
#451E64 #662C93 #873AC2 #A467D2 #C097E0
Accessibility & contrast
On white
6.15
#873AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#873AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873AC2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873AC2 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0862BF
Tritanopia (blue-blind)
#7D597A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873ac2; /* rgb */ color: rgb(135, 58, 194); /* oklch */ color: oklch(51.9% 0.204 306.4);
Tailwind
colors: {
custom: {
50: '#af76d5',
500: '#873ac2',
950: '#000000',
},
}SCSS
$custom: #873ac2; $custom-light: #af76d5; $custom-dark: #000000;
JSON
{
"hex": "#873ac2",
"rgb": {
"r": 135,
"g": 58,
"b": 194
},
"hsl": {
"h": 273.971,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.51916,
"c": 0.20361,
"h": 306.4
},
"luminance": 0.12072
}Semantic roles & 50–950 ramp
primary
#873AC2
secondary
#A8CB8D
accent
#DD4A8A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83