#873DC2#873DC2
#873DC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.200 H 306.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #873DC2 |
|---|---|
| RGB | rgb(135, 61, 194) |
| HSL | hsl(273, 52%, 50%) |
| HSV | hsv(273, 69%, 76%) |
| CMYK | cmyk(30.4%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.82, 54.94, -56.93) |
| CIE-LCH | lch(41.82, 79.12, 313.98°) |
| OKLab | oklab(52.26% 0.1177 -0.1615) |
| OKLCH | oklch(52.26% 0.2 306.1) |
| XYZ | xyz(21.3959, 12.3836, 52.2916) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.28
Blueviolet
#8A2BE2
ΔE00 4.70
Purply
#983FB2
ΔE00 4.95
Darkviolet
#9400D3
ΔE00 5.60
Violet (survey)
#9A0EEA
ΔE00 6.26
Royal Purple
#7851A9
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873DC2 #78C23D
analogous
#443DC2 #873DC2 #C23DBB
triadic
#873DC2 #C2873D #3DC287
tetradic
#873DC2 #C2443D #78C23D #3DBBC2
square
#873DC2 #C2443D #78C23D #3DBBC2
split-complementary
#873DC2 #BBC23D #3DC244
monochromatic
#462065 #672E93 #873DC2 #A46CD1 #C19ADF
Accessibility & contrast
On white
6.04
#873DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#873DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873DC2
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873DC2 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#7D5B7B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873dc2; /* rgb */ color: rgb(135, 61, 194); /* oklch */ color: oklch(52.3% 0.200 306.1);
Tailwind
colors: {
custom: {
50: '#af78d5',
500: '#873dc2',
950: '#000000',
},
}SCSS
$custom: #873dc2; $custom-light: #af78d5; $custom-dark: #000000;
JSON
{
"hex": "#873dc2",
"rgb": {
"r": 135,
"g": 61,
"b": 194
},
"hsl": {
"h": 273.383,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.52265,
"c": 0.19988,
"h": 306.1
},
"luminance": 0.12383
}Semantic roles & 50–950 ramp
primary
#873DC2
secondary
#AACB90
accent
#DC4C8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83