Skip to content

#ae2aef

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

RGB
174, 42, 239
HSL
280°, 86%, 55%
CMYK
27, 82, 0, 6
Luminance
0.1689

Every format

HEX#ae2aef
RGBrgb(174, 42, 239)
HSLhsl(280, 86%, 55%)
CMYKcmyk(27%, 82%, 0%, 6%)
LABlab(48.1 78.1 -72.2)
LCHlch(48.1 106.4 317.2)
OKLCHoklch(0.589 0.270 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2aef on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#ae2aef on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green16.5%
Blue93.7%

CMYK percentages

Cyan27.2%
Magenta82.4%
Yellow0.0%
Key (black)6.3%

Color previews

#ae2aef text on a black background

contrast 4.38:1

Card sample

#ae2aef text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2aef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2aef in the Color Lab