#aa50df
a balanced, vivid violet · warm · closest name: slateblue
RGB
170, 80, 223
HSL
278°, 69%, 59%
CMYK
24, 64, 0, 13
Luminance
0.1961
Every format
| HEX | #aa50df |
| RGB | rgb(170, 80, 223) |
| HSL | hsl(278, 69%, 59%) |
| CMYK | cmyk(24%, 64%, 0%, 13%) |
| LAB | lab(51.4 60.1 -57.9) |
| LCH | lch(51.4 83.5 316.0) |
| OKLCH | oklch(0.607 0.215 310.5) |
Copy-ready code
/* CSS */
color: #aa50df;
background-color: #aa50df;
/* Tailwind (arbitrary) */
class="text-[#aa50df] bg-[#aa50df]"
/* SCSS */
$brand: #aa50df;
/* SwiftUI */
Color(red: 0.667, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#aa50df")Accessibility — WCAG contrast
Aa
#aa50df on white: 4.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#aa50df on black: 4.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green31.4%
Blue87.5%
CMYK percentages
Cyan23.8%
Magenta64.1%
Yellow0.0%
Key (black)12.5%
Color previews
#aa50df text on a black background
contrast 4.92:1
Card sample
#aa50df text on a white background
contrast 4.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa50df;
Background color
Panel with #aa50df background
background-color: #aa50df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa50df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa50df; background: linear-gradient(135deg, #aa50df, #DF50B5);