#ae2def
a balanced, electric violet · warm · closest name: magenta
RGB
174, 45, 239
HSL
280°, 86%, 56%
CMYK
27, 81, 0, 6
Luminance
0.1711
Every format
| HEX | #ae2def |
| RGB | rgb(174, 45, 239) |
| HSL | hsl(280, 86%, 56%) |
| CMYK | cmyk(27%, 81%, 0%, 6%) |
| LAB | lab(48.4 77.3 -71.8) |
| LCH | lch(48.4 105.5 317.1) |
| OKLCH | oklch(0.590 0.268 310.5) |
Copy-ready code
/* CSS */
color: #ae2def;
background-color: #ae2def;
/* Tailwind (arbitrary) */
class="text-[#ae2def] bg-[#ae2def]"
/* SCSS */
$brand: #ae2def;
/* SwiftUI */
Color(red: 0.682, green: 0.176, blue: 0.937)
/* Android */
Color.parseColor("#ae2def")Accessibility — WCAG contrast
Aa
#ae2def on white: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ae2def on black: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green17.6%
Blue93.7%
CMYK percentages
Cyan27.2%
Magenta81.2%
Yellow0.0%
Key (black)6.3%
Color previews
#ae2def text on a black background
contrast 4.42:1
Card sample
#ae2def text on a white background
contrast 4.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae2def;
Background color
Panel with #ae2def background
background-color: #ae2def;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae2def;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 45, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 45, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae2def; background: linear-gradient(135deg, #ae2def, #EF2DAF);