#873FC0#873FC0
#873FC0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.195 H 306.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #873FC0 |
|---|---|
| RGB | rgb(135, 63, 192) |
| HSL | hsl(273, 51%, 50%) |
| HSV | hsv(273, 67%, 75%) |
| CMYK | cmyk(29.7%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(42.02, 53.54, -55.45) |
| CIE-LCH | lch(42.02, 77.07, 314.00°) |
| OKLab | oklab(52.36% 0.1158 -0.1572) |
| OKLCH | oklch(52.36% 0.195 306.4) |
| XYZ | xyz(21.2816, 12.5119, 51.1529) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.46
Purply
#983FB2
ΔE00 4.68
Blueviolet
#8A2BE2
ΔE00 5.13
Darkviolet
#9400D3
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.11
Violet (survey)
#9A0EEA
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FC0 #78C03F
analogous
#463FC0 #873FC0 #C03FB9
triadic
#873FC0 #C0873F #3FC087
tetradic
#873FC0 #C0463F #78C03F #3FB9C0
square
#873FC0 #C0463F #78C03F #3FB9C0
split-complementary
#873FC0 #B9C03F #3FC046
monochromatic
#462164 #673092 #873FC0 #A46DCF #C19BDE
Accessibility & contrast
On white
6.00
#873FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#873FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FC0
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FC0 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#7D5B7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873fc0; /* rgb */ color: rgb(135, 63, 192); /* oklch */ color: oklch(52.4% 0.195 306.4);
Tailwind
colors: {
custom: {
50: '#ae79d4',
500: '#873fc0',
950: '#000000',
},
}SCSS
$custom: #873fc0; $custom-light: #ae79d4; $custom-dark: #000000;
JSON
{
"hex": "#873fc0",
"rgb": {
"r": 135,
"g": 63,
"b": 192
},
"hsl": {
"h": 273.488,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.52363,
"c": 0.19523,
"h": 306.4
},
"luminance": 0.12512
}Semantic roles & 50–950 ramp
primary
#873FC0
secondary
#AACA91
accent
#DA4E8C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83