#aa4df4
a balanced, electric violet · warm · closest name: slateblue
RGB
170, 77, 244
HSL
273°, 88%, 63%
CMYK
30, 68, 0, 4
Luminance
0.2039
Every format
| HEX | #aa4df4 |
| RGB | rgb(170, 77, 244) |
| HSL | hsl(273, 88%, 63%) |
| CMYK | cmyk(30%, 68%, 0%, 4%) |
| LAB | lab(52.3 66.0 -68.3) |
| LCH | lch(52.3 95.0 314.0) |
| OKLCH | oklch(0.618 0.240 306.0) |
Copy-ready code
/* CSS */
color: #aa4df4;
background-color: #aa4df4;
/* Tailwind (arbitrary) */
class="text-[#aa4df4] bg-[#aa4df4]"
/* SCSS */
$brand: #aa4df4;
/* SwiftUI */
Color(red: 0.667, green: 0.302, blue: 0.957)
/* Android */
Color.parseColor("#aa4df4")Accessibility — WCAG contrast
Aa
#aa4df4 on white: 4.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#aa4df4 on black: 5.08:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green30.2%
Blue95.7%
CMYK percentages
Cyan30.3%
Magenta68.4%
Yellow0.0%
Key (black)4.3%
Color previews
#aa4df4 text on a black background
contrast 5.08:1
Card sample
#aa4df4 text on a white background
contrast 4.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa4df4;
Background color
Panel with #aa4df4 background
background-color: #aa4df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa4df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 77, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 77, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa4df4; background: linear-gradient(135deg, #aa4df4, #F44DCF);