#aa45df
a balanced, vivid violet · warm · closest name: slateblue
RGB
170, 69, 223
HSL
279°, 71%, 57%
CMYK
24, 69, 0, 13
Luminance
0.1813
Every format
| HEX | #aa45df |
| RGB | rgb(170, 69, 223) |
| HSL | hsl(279, 71%, 57%) |
| CMYK | cmyk(24%, 69%, 0%, 13%) |
| LAB | lab(49.6 64.9 -60.7) |
| LCH | lch(49.6 88.9 316.9) |
| OKLCH | oklch(0.595 0.229 311.4) |
Copy-ready code
/* CSS */
color: #aa45df;
background-color: #aa45df;
/* Tailwind (arbitrary) */
class="text-[#aa45df] bg-[#aa45df]"
/* SCSS */
$brand: #aa45df;
/* SwiftUI */
Color(red: 0.667, green: 0.271, blue: 0.875)
/* Android */
Color.parseColor("#aa45df")Accessibility — WCAG contrast
Aa
#aa45df on white: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#aa45df on black: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green27.1%
Blue87.5%
CMYK percentages
Cyan23.8%
Magenta69.1%
Yellow0.0%
Key (black)12.5%
Color previews
#aa45df text on a black background
contrast 4.63:1
Card sample
#aa45df text on a white background
contrast 4.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa45df;
Background color
Panel with #aa45df background
background-color: #aa45df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa45df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 69, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 69, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa45df; background: linear-gradient(135deg, #aa45df, #DF45AD);