#873EBF#873EBF
#873EBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.195 H 306.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #873EBF |
|---|---|
| RGB | rgb(135, 62, 191) |
| HSL | hsl(274, 51%, 50%) |
| HSV | hsv(274, 68%, 75%) |
| CMYK | cmyk(29.3%, 67.5%, 0%, 25.1%) |
| CIE-LAB | lab(41.78, 53.78, -55.25) |
| CIE-LCH | lch(41.78, 77.10, 314.23°) |
| OKLab | oklab(52.17% 0.117 -0.1566) |
| OKLCH | oklch(52.17% 0.195 306.8) |
| XYZ | xyz(21.1163, 12.3580, 50.5530) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.45
Purply
#983FB2
ΔE00 4.60
Blueviolet
#8A2BE2
ΔE00 5.18
Darkviolet
#9400D3
ΔE00 5.90
Royal Purple
#7851A9
ΔE00 6.18
Violet (survey)
#9A0EEA
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873EBF #76BF3E
analogous
#463EBF #873EBF #BF3EB7
triadic
#873EBF #BF873E #3EBF87
tetradic
#873EBF #BF463E #76BF3E #3EB7BF
square
#873EBF #BF463E #76BF3E #3EB7BF
split-complementary
#873EBF #B7BF3E #3EBF46
monochromatic
#462063 #662F91 #873EBF #A46BCF #C099DE
Accessibility & contrast
On white
6.05
#873EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#873EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873EBF
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873EBF | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#7E5A79
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873ebf; /* rgb */ color: rgb(135, 62, 191); /* oklch */ color: oklch(52.2% 0.195 306.8);
Tailwind
colors: {
custom: {
50: '#ae78d3',
500: '#873ebf',
950: '#000000',
},
}SCSS
$custom: #873ebf; $custom-light: #ae78d3; $custom-dark: #000000;
JSON
{
"hex": "#873ebf",
"rgb": {
"r": 135,
"g": 62,
"b": 191
},
"hsl": {
"h": 273.953,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.5217,
"c": 0.19547,
"h": 306.8
},
"luminance": 0.12358
}Semantic roles & 50–950 ramp
primary
#873EBF
secondary
#A9CA8F
accent
#DA4D8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83