Skip to content

#ae2fd9

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

RGB
174, 47, 217
HSL
285°, 69%, 52%
CMYK
20, 78, 0, 15
Luminance
0.1604

Every format

HEX#ae2fd9
RGBrgb(174, 47, 217)
HSLhsl(285, 69%, 52%)
CMYKcmyk(20%, 78%, 0%, 15%)
LABlab(47.0 72.5 -61.5)
LCHlch(47.0 95.1 319.7)
OKLCHoklch(0.576 0.248 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fd9 on white: 4.99:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fd9 on black: 4.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue85.1%

CMYK percentages

Cyan19.8%
Magenta78.3%
Yellow0.0%
Key (black)14.9%

Color previews

#ae2fd9 text on a black background

contrast 4.21:1

Card sample

#ae2fd9 text on a white background

contrast 4.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fd9 in the Color Lab