Skip to content

#ae20df

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

RGB
174, 32, 223
HSL
285°, 75%, 50%
CMYK
22, 86, 0, 13
Luminance
0.1536

Every format

HEX#ae20df
RGBrgb(174, 32, 223)
HSLhsl(285, 75%, 50%)
CMYKcmyk(22%, 86%, 0%, 13%)
LABlab(46.1 77.5 -66.4)
LCHlch(46.1 102.0 319.4)
OKLCHoklch(0.571 0.264 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae20df on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#ae20df on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green12.5%
Blue87.5%

CMYK percentages

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

Color previews

#ae20df text on a black background

contrast 4.07:1

Card sample

#ae20df text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae20df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae20df in the Color Lab