#873BBD#873BBD
#873BBD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.197 H 307.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #873BBD |
|---|---|
| RGB | rgb(135, 59, 189) |
| HSL | hsl(275, 52%, 49%) |
| HSV | hsv(275, 69%, 74%) |
| CMYK | cmyk(28.6%, 68.8%, 0%, 25.9%) |
| CIE-LAB | lab(41.14, 54.71, -55.11) |
| CIE-LCH | lch(41.14, 77.66, 314.79°) |
| OKLab | oklab(51.67% 0.1205 -0.1562) |
| OKLCH | oklch(51.67% 0.197 307.6) |
| XYZ | xyz(20.7390, 11.9532, 49.3489) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.46
Purply
#983FB2
ΔE00 4.56
Blueviolet
#8A2BE2
ΔE00 5.25
Darkviolet
#9400D3
ΔE00 5.51
Royal Purple
#7851A9
ΔE00 6.50
Violet (survey)
#9A0EEA
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873BBD #71BD3B
analogous
#463BBD #873BBD #BD3BB2
triadic
#873BBD #BD873B #3BBD87
tetradic
#873BBD #BD463B #71BD3B #3BB2BD
square
#873BBD #BD463B #71BD3B #3BB2BD
split-complementary
#873BBD #B2BD3B #3BBD46
monochromatic
#441E60 #662C8E #873BBD #A466CF #BF95DE
Accessibility & contrast
On white
6.19
#873BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#873BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873BBD
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873BBD | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#7E5877
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #873bbd; /* rgb */ color: rgb(135, 59, 189); /* oklch */ color: oklch(51.7% 0.197 307.6);
Tailwind
colors: {
custom: {
50: '#ae77d2',
500: '#873bbd',
950: '#000000',
},
}SCSS
$custom: #873bbd; $custom-light: #ae77d2; $custom-dark: #000000;
JSON
{
"hex": "#873bbd",
"rgb": {
"r": 135,
"g": 59,
"b": 189
},
"hsl": {
"h": 275.077,
"s": 52.419,
"l": 48.627
},
"oklch": {
"l": 0.5167,
"c": 0.19723,
"h": 307.6
},
"luminance": 0.11953
}Semantic roles & 50–950 ramp
primary
#873BBD
secondary
#A5C98B
accent
#DC4C88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83