#873ABE#873ABE
#873ABE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.200 H 307.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #873ABE |
|---|---|
| RGB | rgb(135, 58, 190) |
| HSL | hsl(275, 53%, 49%) |
| HSV | hsv(275, 69%, 75%) |
| CMYK | cmyk(28.9%, 69.5%, 0%, 25.5%) |
| CIE-LAB | lab(41.05, 55.39, -55.84) |
| CIE-LCH | lch(41.05, 78.66, 314.77°) |
| OKLab | oklab(51.63% 0.1214 -0.1583) |
| OKLCH | oklch(51.63% 0.2 307.5) |
| XYZ | xyz(20.7970, 11.8950, 49.9056) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.38
Purply
#983FB2
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.05
Darkviolet
#9400D3
ΔE00 5.29
Violet (survey)
#9A0EEA
ΔE00 6.46
Royal Purple
#7851A9
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873ABE #71BE3A
analogous
#453ABE #873ABE #BE3AB3
triadic
#873ABE #BE873A #3ABE87
tetradic
#873ABE #BE453A #71BE3A #3AB3BE
square
#873ABE #BE453A #71BE3A #3AB3BE
split-complementary
#873ABE #B3BE3A #3ABE45
monochromatic
#441D60 #662C8F #873ABE #A465D0 #BF94DE
Accessibility & contrast
On white
6.21
#873ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#873ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873ABE
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873ABE | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#1661BB
Tritanopia (blue-blind)
#7E5778
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873abe; /* rgb */ color: rgb(135, 58, 190); /* oklch */ color: oklch(51.6% 0.200 307.5);
Tailwind
colors: {
custom: {
50: '#ae76d2',
500: '#873abe',
950: '#000000',
},
}SCSS
$custom: #873abe; $custom-light: #ae76d2; $custom-dark: #000000;
JSON
{
"hex": "#873abe",
"rgb": {
"r": 135,
"g": 58,
"b": 190
},
"hsl": {
"h": 275,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.51626,
"c": 0.19951,
"h": 307.5
},
"luminance": 0.11895
}Semantic roles & 50–950 ramp
primary
#873ABE
secondary
#A5CA8A
accent
#DD4B88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83