#873EBB#873EBB
#873EBB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.191 H 307.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #873EBB |
|---|---|
| RGB | rgb(135, 62, 187) |
| HSL | hsl(275, 50%, 49%) |
| HSV | hsv(275, 67%, 73%) |
| CMYK | cmyk(27.8%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.51, 52.86, -53.34) |
| CIE-LCH | lch(41.51, 75.10, 314.74°) |
| OKLab | oklab(51.89% 0.1174 -0.151) |
| OKLCH | oklch(51.89% 0.191 307.9) |
| XYZ | xyz(20.6821, 12.1843, 48.2663) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.70
Purply
#983FB2
ΔE00 4.21
Blueviolet
#8A2BE2
ΔE00 5.74
Royal Purple
#7851A9
ΔE00 5.94
Darkviolet
#9400D3
ΔE00 6.12
Violet (survey)
#9A0EEA
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873EBB #72BB3E
analogous
#493EBB #873EBB #BB3EB1
triadic
#873EBB #BB873E #3EBB87
tetradic
#873EBB #BB493E #72BB3E #3EB1BB
square
#873EBB #BB493E #72BB3E #3EB1BB
split-complementary
#873EBB #B1BB3E #3EBB49
monochromatic
#45205F #662F8D #873EBB #A469CD #C097DC
Accessibility & contrast
On white
6.11
#873EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#873EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873EBB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873EBB | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2363B8
Tritanopia (blue-blind)
#7F5977
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873ebb; /* rgb */ color: rgb(135, 62, 187); /* oklch */ color: oklch(51.9% 0.191 307.9);
Tailwind
colors: {
custom: {
50: '#ae78d0',
500: '#873ebb',
950: '#000000',
},
}SCSS
$custom: #873ebb; $custom-light: #ae78d0; $custom-dark: #000000;
JSON
{
"hex": "#873ebb",
"rgb": {
"r": 135,
"g": 62,
"b": 187
},
"hsl": {
"h": 275.04,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.51889,
"c": 0.19126,
"h": 307.9
},
"luminance": 0.12184
}Semantic roles & 50–950 ramp
primary
#873EBB
secondary
#A5C88D
accent
#DA4E88
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82