#873FCB#873FCB
#873FCB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.207 H 303.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #873FCB |
|---|---|
| RGB | rgb(135, 63, 203) |
| HSL | hsl(271, 57%, 52%) |
| HSV | hsv(271, 69%, 80%) |
| CMYK | cmyk(33.5%, 69%, 0%, 20.4%) |
| CIE-LAB | lab(42.79, 56.11, -60.59) |
| CIE-LCH | lch(42.79, 82.58, 312.80°) |
| OKLab | oklab(53.16% 0.1144 -0.1723) |
| OKLCH | oklch(53.16% 0.207 303.6) |
| XYZ | xyz(22.5462, 13.0177, 57.8132) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.41
Blueviolet
#8A2BE2
ΔE00 3.85
Bluish Purple
#703BE7
ΔE00 5.56
Violet (survey)
#9A0EEA
ΔE00 5.66
Darkviolet
#9400D3
ΔE00 5.83
Purply
#983FB2
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873FCB #83CB3F
analogous
#413FCB #873FCB #CB3FC9
triadic
#873FCB #CB873F #3FCB87
tetradic
#873FCB #CB413F #83CB3F #3FC9CB
square
#873FCB #CB413F #83CB3F #3FC9CB
split-complementary
#873FCB #C9CB3F #3FCB41
monochromatic
#491F71 #682CA1 #873FCB #A56FD8 #C39FE5
Accessibility & contrast
On white
5.83
#873FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#873FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873FCB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873FCB | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#7A5F80
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #873fcb; /* rgb */ color: rgb(135, 63, 203); /* oklch */ color: oklch(53.2% 0.207 303.6);
Tailwind
colors: {
custom: {
50: '#af79dc',
500: '#873fcb',
950: '#000000',
},
}SCSS
$custom: #873fcb; $custom-light: #af79dc; $custom-dark: #000000;
JSON
{
"hex": "#873fcb",
"rgb": {
"r": 135,
"g": 63,
"b": 203
},
"hsl": {
"h": 270.857,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.53159,
"c": 0.20684,
"h": 303.6
},
"luminance": 0.13018
}Semantic roles & 50–950 ramp
primary
#873FCB
secondary
#B2D194
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83