#873EBC#873EBC
#873EBC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.192 H 307.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #873EBC |
|---|---|
| RGB | rgb(135, 62, 188) |
| HSL | hsl(275, 50%, 49%) |
| HSV | hsv(275, 67%, 74%) |
| CMYK | cmyk(28.2%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(41.58, 53.09, -53.82) |
| CIE-LCH | lch(41.58, 75.60, 314.61°) |
| OKLab | oklab(51.96% 0.1173 -0.1524) |
| OKLCH | oklch(51.96% 0.192 307.6) |
| XYZ | xyz(20.7895, 12.2273, 48.8321) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.62
Purply
#983FB2
ΔE00 4.31
Blueviolet
#8A2BE2
ΔE00 5.59
Royal Purple
#7851A9
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.06
Violet (survey)
#9A0EEA
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873EBC #73BC3E
analogous
#483EBC #873EBC #BC3EB2
triadic
#873EBC #BC873E #3EBC87
tetradic
#873EBC #BC483E #73BC3E #3EB2BC
square
#873EBC #BC483E #73BC3E #3EB2BC
split-complementary
#873EBC #B2BC3E #3EBC48
monochromatic
#452060 #662F8E #873EBC #A46ACE #C098DD
Accessibility & contrast
On white
6.10
#873EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#873EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873EBC
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873EBC | 1.00 | 6.10 | 3.45 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#7F5978
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873ebc; /* rgb */ color: rgb(135, 62, 188); /* oklch */ color: oklch(52.0% 0.192 307.6);
Tailwind
colors: {
custom: {
50: '#ae78d1',
500: '#873ebc',
950: '#000000',
},
}SCSS
$custom: #873ebc; $custom-light: #ae78d1; $custom-dark: #000000;
JSON
{
"hex": "#873ebc",
"rgb": {
"r": 135,
"g": 62,
"b": 188
},
"hsl": {
"h": 274.762,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.51959,
"c": 0.19231,
"h": 307.6
},
"luminance": 0.12227
}Semantic roles & 50–950 ramp
primary
#873EBC
secondary
#A6C98D
accent
#DA4E89
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82