#873DC1#873DC1
#873DC1 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.2% C 0.199 H 306.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #873DC1 |
|---|---|
| RGB | rgb(135, 61, 193) |
| HSL | hsl(274, 52%, 50%) |
| HSV | hsv(274, 68%, 76%) |
| CMYK | cmyk(30.1%, 68.4%, 0%, 24.3%) |
| CIE-LAB | lab(41.75, 54.71, -56.46) |
| CIE-LCH | lch(41.75, 78.62, 314.10°) |
| OKLab | oklab(52.19% 0.1179 -0.1602) |
| OKLCH | oklch(52.19% 0.199 306.3) |
| XYZ | xyz(21.2840, 12.3388, 51.7021) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.31
Blueviolet
#8A2BE2
ΔE00 4.83
Purply
#983FB2
ΔE00 4.85
Darkviolet
#9400D3
ΔE00 5.64
Violet (survey)
#9A0EEA
ΔE00 6.36
Royal Purple
#7851A9
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873DC1 #77C13D
analogous
#453DC1 #873DC1 #C13DB9
triadic
#873DC1 #C1873D #3DC187
tetradic
#873DC1 #C1453D #77C13D #3DB9C1
square
#873DC1 #C1453D #77C13D #3DB9C1
split-complementary
#873DC1 #B9C13D #3DC145
monochromatic
#462064 #662E92 #873DC1 #A46BD0 #C099DF
Accessibility & contrast
On white
6.06
#873DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#873DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873DC1
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873DC1 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1563BE
Tritanopia (blue-blind)
#7D5A7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873dc1; /* rgb */ color: rgb(135, 61, 193); /* oklch */ color: oklch(52.2% 0.199 306.3);
Tailwind
colors: {
custom: {
50: '#af78d4',
500: '#873dc1',
950: '#000000',
},
}SCSS
$custom: #873dc1; $custom-light: #af78d4; $custom-dark: #000000;
JSON
{
"hex": "#873dc1",
"rgb": {
"r": 135,
"g": 61,
"b": 193
},
"hsl": {
"h": 273.636,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.52193,
"c": 0.19885,
"h": 306.3
},
"luminance": 0.12339
}Semantic roles & 50–950 ramp
primary
#873DC1
secondary
#A9CB8F
accent
#DB4C8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83