#873CBF#873CBF
#873CBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 307.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #873CBF |
|---|---|
| RGB | rgb(135, 60, 191) |
| HSL | hsl(274, 52%, 49%) |
| HSV | hsv(274, 69%, 75%) |
| CMYK | cmyk(29.3%, 68.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.44, 54.71, -55.79) |
| CIE-LCH | lch(41.44, 78.14, 314.44°) |
| OKLab | oklab(51.93% 0.1192 -0.1582) |
| OKLCH | oklch(51.93% 0.198 307) |
| XYZ | xyz(21.0095, 12.1444, 50.5174) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.37
Purply
#983FB2
ΔE00 4.69
Blueviolet
#8A2BE2
ΔE00 5.03
Darkviolet
#9400D3
ΔE00 5.56
Royal Purple
#7851A9
ΔE00 6.47
Violet (survey)
#9A0EEA
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873CBF #74BF3C
analogous
#463CBF #873CBF #BF3CB6
triadic
#873CBF #BF873C #3CBF87
tetradic
#873CBF #BF463C #74BF3C #3CB6BF
square
#873CBF #BF463C #74BF3C #3CB6BF
split-complementary
#873CBF #B6BF3C #3CBF46
monochromatic
#451F62 #662D90 #873CBF #A468D0 #C097DE
Accessibility & contrast
On white
6.12
#873CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#873CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873CBF
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873CBF | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#7E5979
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #873cbf; /* rgb */ color: rgb(135, 60, 191); /* oklch */ color: oklch(51.9% 0.198 307.0);
Tailwind
colors: {
custom: {
50: '#ae77d3',
500: '#873cbf',
950: '#000000',
},
}SCSS
$custom: #873cbf; $custom-light: #ae77d3; $custom-dark: #000000;
JSON
{
"hex": "#873cbf",
"rgb": {
"r": 135,
"g": 60,
"b": 191
},
"hsl": {
"h": 274.351,
"s": 52.191,
"l": 49.216
},
"oklch": {
"l": 0.51931,
"c": 0.19803,
"h": 307
},
"luminance": 0.12144
}Semantic roles & 50–950 ramp
primary
#873CBF
secondary
#A7CA8D
accent
#DC4C89
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83