#873DC0#873DC0
#873DC0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.198 H 306.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #873DC0 |
|---|---|
| RGB | rgb(135, 61, 192) |
| HSL | hsl(274, 52%, 50%) |
| HSV | hsv(274, 68%, 75%) |
| CMYK | cmyk(29.7%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(41.68, 54.48, -55.99) |
| CIE-LCH | lch(41.68, 78.12, 314.21°) |
| OKLab | oklab(52.12% 0.118 -0.1588) |
| OKLCH | oklch(52.12% 0.198 306.6) |
| XYZ | xyz(21.1728, 12.2944, 51.1166) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.35
Purply
#983FB2
ΔE00 4.74
Blueviolet
#8A2BE2
ΔE00 4.96
Darkviolet
#9400D3
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.39
Violet (survey)
#9A0EEA
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873DC0 #76C03D
analogous
#453DC0 #873DC0 #C03DB8
triadic
#873DC0 #C0873D #3DC087
tetradic
#873DC0 #C0453D #76C03D #3DB8C0
square
#873DC0 #C0453D #76C03D #3DB8C0
split-complementary
#873DC0 #B8C03D #3DC045
monochromatic
#461F63 #662E92 #873DC0 #A46AD0 #C099DF
Accessibility & contrast
On white
6.07
#873DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#873DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873DC0
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873DC0 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#7D5A7A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873dc0; /* rgb */ color: rgb(135, 61, 192); /* oklch */ color: oklch(52.1% 0.198 306.6);
Tailwind
colors: {
custom: {
50: '#ae78d4',
500: '#873dc0',
950: '#000000',
},
}SCSS
$custom: #873dc0; $custom-light: #ae78d4; $custom-dark: #000000;
JSON
{
"hex": "#873dc0",
"rgb": {
"r": 135,
"g": 61,
"b": 192
},
"hsl": {
"h": 273.893,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.52121,
"c": 0.1978,
"h": 306.6
},
"luminance": 0.12294
}Semantic roles & 50–950 ramp
primary
#873DC0
secondary
#A9CA8E
accent
#DB4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83