#873FCC#873FCC
#873FCC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.208 H 303.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #873FCC |
|---|---|
| RGB | rgb(135, 63, 204) |
| HSL | hsl(271, 58%, 52%) |
| HSV | hsv(271, 69%, 80%) |
| CMYK | cmyk(33.8%, 69.1%, 0%, 20%) |
| CIE-LAB | lab(42.86, 56.35, -61.05) |
| CIE-LCH | lch(42.86, 83.08, 312.70°) |
| OKLab | oklab(53.23% 0.1143 -0.1736) |
| OKLCH | oklch(53.23% 0.208 303.3) |
| XYZ | xyz(22.6657, 13.0656, 58.4428) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.44
Blueviolet
#8A2BE2
ΔE00 3.75
Bluish Purple
#703BE7
ΔE00 5.45
Violet (survey)
#9A0EEA
ΔE00 5.59
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FCC #84CC3F
analogous
#403FCC #873FCC #CC3FCB
triadic
#873FCC #CC873F #3FCC87
tetradic
#873FCC #CC403F #84CC3F #3FCBCC
square
#873FCC #CC403F #84CC3F #3FCBCC
split-complementary
#873FCC #CBCC3F #3FCC40
monochromatic
#491E72 #682BA3 #873FCC #A56FD9 #C3A0E6
Accessibility & contrast
On white
5.81
#873FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#873FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FCC
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FCC | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#796081
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #873fcc; /* rgb */ color: rgb(135, 63, 204); /* oklch */ color: oklch(53.2% 0.208 303.3);
Tailwind
colors: {
custom: {
50: '#af7adc',
500: '#873fcc',
950: '#000000',
},
}SCSS
$custom: #873fcc; $custom-light: #af7adc; $custom-dark: #000000;
JSON
{
"hex": "#873fcc",
"rgb": {
"r": 135,
"g": 63,
"b": 204
},
"hsl": {
"h": 270.638,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.53233,
"c": 0.20788,
"h": 303.3
},
"luminance": 0.13066
}Semantic roles & 50–950 ramp
primary
#873FCC
secondary
#B3D295
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83