#873CC6#873CC6
#873CC6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.205 H 305.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #873CC6 |
|---|---|
| RGB | rgb(135, 60, 198) |
| HSL | hsl(273, 55%, 51%) |
| HSV | hsv(273, 70%, 78%) |
| CMYK | cmyk(31.8%, 69.7%, 0%, 22.4%) |
| CIE-LAB | lab(41.94, 56.32, -59.07) |
| CIE-LCH | lch(41.94, 81.62, 313.64°) |
| OKLab | oklab(52.44% 0.1182 -0.1678) |
| OKLCH | oklch(52.44% 0.205 305.2) |
| XYZ | xyz(21.7983, 12.4600, 54.6718) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.17
Blueviolet
#8A2BE2
ΔE00 4.10
Darkviolet
#9400D3
ΔE00 5.32
Purply
#983FB2
ΔE00 5.41
Violet (survey)
#9A0EEA
ΔE00 5.77
Bluish Purple
#703BE7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873CC6 #7BC63C
analogous
#423CC6 #873CC6 #C63CC0
triadic
#873CC6 #C6873C #3CC687
tetradic
#873CC6 #C6423C #7BC63C #3CC0C6
square
#873CC6 #C6423C #7BC63C #3CC0C6
split-complementary
#873CC6 #C0C63C #3CC642
monochromatic
#471F69 #672D98 #873CC6 #A46BD4 #C19BE2
Accessibility & contrast
On white
6.01
#873CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#873CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873CC6
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873CC6 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#7B5C7D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #873cc6; /* rgb */ color: rgb(135, 60, 198); /* oklch */ color: oklch(52.4% 0.205 305.2);
Tailwind
colors: {
custom: {
50: '#af78d8',
500: '#873cc6',
950: '#000000',
},
}SCSS
$custom: #873cc6; $custom-light: #af78d8; $custom-dark: #000000;
JSON
{
"hex": "#873cc6",
"rgb": {
"r": 135,
"g": 60,
"b": 198
},
"hsl": {
"h": 272.609,
"s": 54.762,
"l": 50.588
},
"oklch": {
"l": 0.52439,
"c": 0.20529,
"h": 305.2
},
"luminance": 0.1246
}Semantic roles & 50–950 ramp
primary
#873CC6
secondary
#ACCE90
accent
#DE4A8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83