#873CB8#873CB8
#873CB8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.191 H 308.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #873CB8 |
|---|---|
| RGB | rgb(135, 60, 184) |
| HSL | hsl(276, 51%, 48%) |
| HSV | hsv(276, 67%, 72%) |
| CMYK | cmyk(26.6%, 67.4%, 0%, 27.8%) |
| CIE-LAB | lab(40.97, 53.12, -52.46) |
| CIE-LCH | lch(40.97, 74.65, 315.36°) |
| OKLab | oklab(51.44% 0.1199 -0.1484) |
| OKLCH | oklch(51.44% 0.191 308.9) |
| XYZ | xyz(20.2575, 11.8437, 46.5570) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.87
Purply
#983FB2
ΔE00 4.07
Darkviolet
#9400D3
ΔE00 6.01
Blueviolet
#8A2BE2
ΔE00 6.04
Royal Purple
#7851A9
ΔE00 6.12
Barney
#AC1DB8
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873CB8 #6DB83C
analogous
#493CB8 #873CB8 #B83CAB
triadic
#873CB8 #B8873C #3CB887
tetradic
#873CB8 #B8493C #6DB83C #3CABB8
square
#873CB8 #B8493C #6DB83C #3CABB8
split-complementary
#873CB8 #ABB83C #3CB849
monochromatic
#431E5C #652D8A #873CB8 #A465CD #BF93DC
Accessibility & contrast
On white
6.23
#873CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#873CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873CB8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873CB8 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2562B5
Tritanopia (blue-blind)
#805675
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873cb8; /* rgb */ color: rgb(135, 60, 184); /* oklch */ color: oklch(51.4% 0.191 308.9);
Tailwind
colors: {
custom: {
50: '#ae77ce',
500: '#873cb8',
950: '#000000',
},
}SCSS
$custom: #873cb8; $custom-light: #ae77ce; $custom-dark: #000000;
JSON
{
"hex": "#873cb8",
"rgb": {
"r": 135,
"g": 60,
"b": 184
},
"hsl": {
"h": 276.29,
"s": 50.82,
"l": 47.843
},
"oklch": {
"l": 0.51437,
"c": 0.19077,
"h": 308.9
},
"luminance": 0.11843
}Semantic roles & 50–950 ramp
primary
#873CB8
secondary
#A1C789
accent
#DA4D85
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82