Skip to content

#ae2fdf

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

RGB
174, 47, 223
HSL
283°, 73%, 53%
CMYK
22, 79, 0, 13
Luminance
0.1636

Every format

HEX#ae2fdf
RGBrgb(174, 47, 223)
HSLhsl(283, 73%, 53%)
CMYKcmyk(22%, 79%, 0%, 13%)
LABlab(47.4 73.6 -64.3)
LCHlch(47.4 97.7 318.9)
OKLCHoklch(0.580 0.253 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fdf on white: 4.92:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fdf on black: 4.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ae2fdf text on a black background

contrast 4.27:1

Card sample

#ae2fdf text on a white background

contrast 4.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fdf in the Color Lab