#873CDD#873CDD
#873CDD is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.229 H 299.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #873CDD |
|---|---|
| RGB | rgb(135, 60, 221) |
| HSL | hsl(268, 70%, 55%) |
| HSV | hsv(268, 73%, 87%) |
| CMYK | cmyk(38.9%, 72.9%, 0%, 13.3%) |
| CIE-LAB | lab(43.66, 61.73, -69.52) |
| CIE-LCH | lch(43.66, 92.98, 311.60°) |
| OKLab | oklab(54.2% 0.1141 -0.1985) |
| OKLCH | oklch(54.2% 0.229 299.9) |
| XYZ | xyz(24.6554, 13.6028, 69.7192) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.39
Bluish Purple
#703BE7
ΔE00 3.90
Darkorchid
#9932CC
ΔE00 4.41
Violet (survey)
#9A0EEA
ΔE00 4.48
Vivid Purple
#9900FA
ΔE00 5.05
Violet
#8F00FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#873CDD #92DD3C
analogous
#3C42DD #873CDD #D73CDD
triadic
#873CDD #DD873C #3CDD87
tetradic
#873CDD #DD3C42 #92DD3C #3CDDD7
square
#873CDD #DD3C42 #92DD3C #3CDDD7
split-complementary
#873CDD #DDD73C #42DD3C
monochromatic
#4B1887 #6921BB #873CDD #A770E6 #C7A4EF
Accessibility & contrast
On white
5.64
#873CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#873CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #873CDD
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##873CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##873CDD | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#736589
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #873cdd; /* rgb */ color: rgb(135, 60, 221); /* oklch */ color: oklch(54.2% 0.229 299.9);
Tailwind
colors: {
custom: {
50: '#b179e9',
500: '#873cdd',
950: '#000000',
},
}SCSS
$custom: #873cdd; $custom-light: #b179e9; $custom-dark: #000000;
JSON
{
"hex": "#873cdd",
"rgb": {
"r": 135,
"g": 60,
"b": 221
},
"hsl": {
"h": 267.95,
"s": 70.306,
"l": 55.098
},
"oklch": {
"l": 0.54197,
"c": 0.229,
"h": 299.9
},
"luminance": 0.13603
}Semantic roles & 50–950 ramp
primary
#873CDD
secondary
#BDDC99
accent
#ED3B9A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84