#873FD6#873FD6
#873FD6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.218 H 301.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #873FD6 |
|---|---|
| RGB | rgb(135, 63, 214) |
| HSL | hsl(269, 65%, 54%) |
| HSV | hsv(269, 71%, 84%) |
| CMYK | cmyk(36.9%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(43.60, 58.73, -65.62) |
| CIE-LCH | lch(43.60, 88.06, 311.83°) |
| OKLab | oklab(53.99% 0.1127 -0.1871) |
| OKLCH | oklch(53.99% 0.218 301.1) |
| XYZ | xyz(23.9038, 13.5608, 64.9634) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.05
Darkorchid
#9932CC
ΔE00 4.02
Bluish Purple
#703BE7
ΔE00 4.49
Violet (survey)
#9A0EEA
ΔE00 5.05
Vivid Purple
#9900FA
ΔE00 5.85
Purpley
#8756E4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FD6 #8ED63F
analogous
#3F43D6 #873FD6 #D23FD6
triadic
#873FD6 #D6873F #3FD687
tetradic
#873FD6 #D63F43 #8ED63F #3FD6D2
square
#873FD6 #D63F43 #8ED63F #3FD6D2
split-complementary
#873FD6 #D6D23F #43D63F
monochromatic
#4B1B7F #6926B2 #873FD6 #A771E1 #C6A4EC
Accessibility & contrast
On white
5.66
#873FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#873FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FD6
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FD6 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#766486
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #873fd6; /* rgb */ color: rgb(135, 63, 214); /* oklch */ color: oklch(54.0% 0.218 301.1);
Tailwind
colors: {
custom: {
50: '#b07ae4',
500: '#873fd6',
950: '#000000',
},
}SCSS
$custom: #873fd6; $custom-light: #b07ae4; $custom-dark: #000000;
JSON
{
"hex": "#873fd6",
"rgb": {
"r": 135,
"g": 63,
"b": 214
},
"hsl": {
"h": 268.609,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.53987,
"c": 0.21839,
"h": 301.1
},
"luminance": 0.13561
}Semantic roles & 50–950 ramp
primary
#873FD6
secondary
#BAD898
accent
#E84098
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84