#ae49eb
a balanced, electric violet · warm · closest name: slateblue
RGB
174, 73, 235
HSL
277°, 80%, 60%
CMYK
26, 69, 0, 8
Luminance
0.1976
Every format
| HEX | #ae49eb |
| RGB | rgb(174, 73, 235) |
| HSL | hsl(277, 80%, 60%) |
| CMYK | cmyk(26%, 69%, 0%, 8%) |
| LAB | lab(51.6 66.6 -64.4) |
| LCH | lch(51.6 92.6 315.9) |
| OKLCH | oklch(0.612 0.237 309.7) |
Copy-ready code
/* CSS */
color: #ae49eb;
background-color: #ae49eb;
/* Tailwind (arbitrary) */
class="text-[#ae49eb] bg-[#ae49eb]"
/* SCSS */
$brand: #ae49eb;
/* SwiftUI */
Color(red: 0.682, green: 0.286, blue: 0.922)
/* Android */
Color.parseColor("#ae49eb")Accessibility — WCAG contrast
Aa
#ae49eb on white: 4.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ae49eb on black: 4.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green28.6%
Blue92.2%
CMYK percentages
Cyan26.0%
Magenta68.9%
Yellow0.0%
Key (black)7.8%
Color previews
#ae49eb text on a black background
contrast 4.95:1
Card sample
#ae49eb text on a white background
contrast 4.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae49eb;
Background color
Panel with #ae49eb background
background-color: #ae49eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae49eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 73, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 73, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae49eb; background: linear-gradient(135deg, #ae49eb, #EB49BC);