#873EBA#873EBA
#873EBA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.190 H 308.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #873EBA |
|---|---|
| RGB | rgb(135, 62, 186) |
| HSL | hsl(275, 50%, 49%) |
| HSV | hsv(275, 67%, 73%) |
| CMYK | cmyk(27.4%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.44, 52.63, -52.87) |
| CIE-LCH | lch(41.44, 74.60, 314.87°) |
| OKLab | oklab(51.82% 0.1175 -0.1496) |
| OKLCH | oklch(51.82% 0.19 308.1) |
| XYZ | xyz(20.5754, 12.1416, 47.7045) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.77
Purply
#983FB2
ΔE00 4.12
Blueviolet
#8A2BE2
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 5.89
Darkviolet
#9400D3
ΔE00 6.18
Barney
#AC1DB8
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873EBA #71BA3E
analogous
#493EBA #873EBA #BA3EAF
triadic
#873EBA #BA873E #3EBA87
tetradic
#873EBA #BA493E #71BA3E #3EAFBA
square
#873EBA #BA493E #71BA3E #3EAFBA
split-complementary
#873EBA #AFBA3E #3EBA49
monochromatic
#441F5E #662F8C #873EBA #A468CD #BF96DC
Accessibility & contrast
On white
6.13
#873EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#873EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873EBA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873EBA | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2563B7
Tritanopia (blue-blind)
#7F5877
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873eba; /* rgb */ color: rgb(135, 62, 186); /* oklch */ color: oklch(51.8% 0.190 308.1);
Tailwind
colors: {
custom: {
50: '#ae78cf',
500: '#873eba',
950: '#000000',
},
}SCSS
$custom: #873eba; $custom-light: #ae78cf; $custom-dark: #000000;
JSON
{
"hex": "#873eba",
"rgb": {
"r": 135,
"g": 62,
"b": 186
},
"hsl": {
"h": 275.323,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.51819,
"c": 0.19021,
"h": 308.1
},
"luminance": 0.12141
}Semantic roles & 50–950 ramp
primary
#873EBA
secondary
#A5C88C
accent
#DA4E88
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82