#804ade
a balanced, vivid violet · warm · closest name: slateblue
RGB
128, 74, 222
HSL
262°, 69%, 58%
CMYK
42, 67, 0, 13
Luminance
0.1476
Every format
| HEX | #804ade |
| RGB | rgb(128, 74, 222) |
| HSL | hsl(262, 69%, 58%) |
| CMYK | cmyk(42%, 67%, 0%, 13%) |
| LAB | lab(45.3 54.1 -67.5) |
| LCH | lch(45.3 86.5 308.7) |
| OKLCH | oklch(0.552 0.213 295.3) |
Copy-ready code
/* CSS */
color: #804ade;
background-color: #804ade;
/* Tailwind (arbitrary) */
class="text-[#804ade] bg-[#804ade]"
/* SCSS */
$brand: #804ade;
/* SwiftUI */
Color(red: 0.502, green: 0.290, blue: 0.871)
/* Android */
Color.parseColor("#804ade")Accessibility — WCAG contrast
Aa
#804ade on white: 5.31:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#804ade on black: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green29.0%
Blue87.1%
CMYK percentages
Cyan42.3%
Magenta66.7%
Yellow0.0%
Key (black)12.9%
Color previews
#804ade text on a black background
contrast 3.95:1
Card sample
#804ade text on a white background
contrast 5.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #804ade;
Background color
Panel with #804ade background
background-color: #804ade;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #804ade;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 74, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 74, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #804ade; background: linear-gradient(135deg, #804ade, #DE4AD9);