#ae2cff
a balanced, electric violet · warm · closest name: magenta
RGB
174, 44, 255
HSL
277°, 100%, 59%
CMYK
32, 83, 0, 0
Luminance
0.1802
Every format
| HEX | #ae2cff |
| RGB | rgb(174, 44, 255) |
| HSL | hsl(277, 100%, 59%) |
| CMYK | cmyk(32%, 83%, 0%, 0%) |
| LAB | lab(49.5 80.7 -78.9) |
| LCH | lch(49.5 112.9 315.6) |
| OKLCH | oklch(0.602 0.282 307.1) |
Copy-ready code
/* CSS */
color: #ae2cff;
background-color: #ae2cff;
/* Tailwind (arbitrary) */
class="text-[#ae2cff] bg-[#ae2cff]"
/* SCSS */
$brand: #ae2cff;
/* SwiftUI */
Color(red: 0.682, green: 0.173, blue: 1.000)
/* Android */
Color.parseColor("#ae2cff")Accessibility — WCAG contrast
Aa
#ae2cff on white: 4.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ae2cff on black: 4.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green17.3%
Blue100.0%
CMYK percentages
Cyan31.8%
Magenta82.7%
Yellow0.0%
Key (black)0.0%
Color previews
#ae2cff text on a black background
contrast 4.60:1
Card sample
#ae2cff text on a white background
contrast 4.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae2cff;
Background color
Panel with #ae2cff background
background-color: #ae2cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae2cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 44, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 44, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae2cff; background: linear-gradient(135deg, #ae2cff, #FF2CC3);