Skip to content

#ae2fda

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

RGB
174, 47, 218
HSL
285°, 70%, 52%
CMYK
20, 78, 0, 15
Luminance
0.1609

Every format

HEX#ae2fda
RGBrgb(174, 47, 218)
HSLhsl(285, 70%, 52%)
CMYKcmyk(20%, 78%, 0%, 15%)
LABlab(47.1 72.7 -62.0)
LCHlch(47.1 95.5 319.5)
OKLCHoklch(0.577 0.249 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fda on white: 4.98:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fda on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue85.5%

CMYK percentages

Cyan20.2%
Magenta78.4%
Yellow0.0%
Key (black)14.5%

Color previews

#ae2fda text on a black background

contrast 4.22:1

Card sample

#ae2fda text on a white background

contrast 4.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fda in the Color Lab