Skip to content

#ae2bdf

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

RGB
174, 43, 223
HSL
284°, 74%, 52%
CMYK
22, 81, 0, 13
Luminance
0.1605

Every format

HEX#ae2bdf
RGBrgb(174, 43, 223)
HSLhsl(284, 74%, 52%)
CMYKcmyk(22%, 81%, 0%, 13%)
LABlab(47.0 74.8 -64.9)
LCHlch(47.0 99.0 319.0)
OKLCHoklch(0.577 0.256 314.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.2%
Green16.9%
Blue87.5%

CMYK percentages

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

Color previews

#ae2bdf text on a black background

contrast 4.21:1

Card sample

#ae2bdf text on a white background

contrast 4.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2bdf in the Color Lab