Skip to content

#ae2df1

a balanced, electric violet · warm · closest name: magenta

RGB
174, 45, 241
HSL
280°, 88%, 56%
CMYK
28, 81, 0, 6
Luminance
0.1723

Every format

HEX#ae2df1
RGBrgb(174, 45, 241)
HSLhsl(280, 88%, 56%)
CMYKcmyk(28%, 81%, 0%, 6%)
LABlab(48.5 77.7 -72.7)
LCHlch(48.5 106.4 316.9)
OKLCHoklch(0.592 0.270 310.0)

Copy-ready code

/* CSS */
color: #ae2df1;
background-color: #ae2df1;
/* Tailwind (arbitrary) */
class="text-[#ae2df1] bg-[#ae2df1]"
/* SCSS */
$brand: #ae2df1;
/* SwiftUI */
Color(red: 0.682, green: 0.176, blue: 0.945)
/* Android */
Color.parseColor("#ae2df1")

Accessibility — WCAG contrast

Aa
#ae2df1 on white: 4.72:1
AA ✓ pass · AA-large · AAA
Aa
#ae2df1 on black: 4.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.6%
Blue94.5%

CMYK percentages

Cyan27.8%
Magenta81.3%
Yellow0.0%
Key (black)5.5%

Color previews

#ae2df1 text on a black background

contrast 4.45:1

Card sample

#ae2df1 text on a white background

contrast 4.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ae2df1;
Background color
Panel with #ae2df1 background
background-color: #ae2df1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ae2df1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(174, 45, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 45, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae2df1;
background: linear-gradient(135deg, #ae2df1, #F12DB1);

Monochromatic scale

Palettes built from #ae2df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2df1 in the Color Lab