Skip to content

#ae2cdf

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

RGB
174, 44, 223
HSL
284°, 74%, 52%
CMYK
22, 80, 0, 13
Luminance
0.1613

Every format

HEX#ae2cdf
RGBrgb(174, 44, 223)
HSLhsl(284, 74%, 52%)
CMYKcmyk(22%, 80%, 0%, 13%)
LABlab(47.1 74.5 -64.8)
LCHlch(47.1 98.7 319.0)
OKLCHoklch(0.578 0.256 314.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2cdf on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#ae2cdf on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.3%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#ae2cdf text on a black background

contrast 4.23:1

Card sample

#ae2cdf text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2cdf in the Color Lab