Skip to content

#ae0df2

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

RGB
174, 13, 242
HSL
282°, 90%, 50%
CMYK
28, 95, 0, 5
Luminance
0.1570

Every format

HEX#ae0df2
RGBrgb(174, 13, 242)
HSLhsl(282, 90%, 50%)
CMYKcmyk(28%, 95%, 0%, 5%)
LABlab(46.6 83.9 -76.4)
LCHlch(46.6 113.5 317.7)
OKLCHoklch(0.579 0.287 310.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae0df2 on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#ae0df2 on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green5.1%
Blue94.9%

CMYK percentages

Cyan28.1%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#ae0df2 text on a black background

contrast 4.14:1

Card sample

#ae0df2 text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae0df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae0df2 in the Color Lab