Skip to content

#ae2df6

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

RGB
174, 45, 246
HSL
279°, 92%, 57%
CMYK
29, 82, 0, 4
Luminance
0.1753

Every format

HEX#ae2df6
RGBrgb(174, 45, 246)
HSLhsl(279, 92%, 57%)
CMYKcmyk(29%, 82%, 0%, 4%)
LABlab(48.9 78.6 -74.9)
LCHlch(48.9 108.6 316.4)
OKLCHoklch(0.596 0.274 309.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2df6 on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#ae2df6 on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.6%
Blue96.5%

CMYK percentages

Cyan29.3%
Magenta81.7%
Yellow0.0%
Key (black)3.5%

Color previews

#ae2df6 text on a black background

contrast 4.51:1

Card sample

#ae2df6 text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2df6 in the Color Lab