#873ABB#873ABB
#873ABB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.196 H 308.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #873ABB |
|---|---|
| RGB | rgb(135, 58, 187) |
| HSL | hsl(276, 53%, 48%) |
| HSV | hsv(276, 69%, 73%) |
| CMYK | cmyk(27.8%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(40.84, 54.72, -54.42) |
| CIE-LCH | lch(40.84, 77.17, 315.15°) |
| OKLab | oklab(51.41% 0.1218 -0.1541) |
| OKLCH | oklch(51.41% 0.196 308.3) |
| XYZ | xyz(20.4725, 11.7652, 48.1965) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.59
Purply
#983FB2
ΔE00 4.45
Darkviolet
#9400D3
ΔE00 5.48
Blueviolet
#8A2BE2
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 6.55
Violet (survey)
#9A0EEA
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873ABB #6EBB3A
analogous
#463ABB #873ABB #BB3AAE
triadic
#873ABB #BB873A #3ABB87
tetradic
#873ABB #BB463A #6EBB3A #3AAEBB
square
#873ABB #BB463A #6EBB3A #3AAEBB
split-complementary
#873ABB #AEBB3A #3ABB46
monochromatic
#441D5E #652C8C #873ABB #A363CF #BF92DD
Accessibility & contrast
On white
6.26
#873ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#873ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873ABB
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873ABB | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#7F5676
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #873abb; /* rgb */ color: rgb(135, 58, 187); /* oklch */ color: oklch(51.4% 0.196 308.3);
Tailwind
colors: {
custom: {
50: '#ae76d0',
500: '#873abb',
950: '#000000',
},
}SCSS
$custom: #873abb; $custom-light: #ae76d0; $custom-dark: #000000;
JSON
{
"hex": "#873abb",
"rgb": {
"r": 135,
"g": 58,
"b": 187
},
"hsl": {
"h": 275.814,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.51411,
"c": 0.19644,
"h": 308.3
},
"luminance": 0.11765
}Semantic roles & 50–950 ramp
primary
#873ABB
secondary
#A2C888
accent
#DC4C86
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82