Skip to content

#ae02df

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

RGB
174, 2, 223
HSL
287°, 98%, 44%
CMYK
22, 99, 0, 13
Luminance
0.1437

Every format

HEX#ae02df
RGBrgb(174, 2, 223)
HSLhsl(287, 98%, 44%)
CMYKcmyk(22%, 99%, 0%, 13%)
LABlab(44.8 81.5 -68.6)
LCHlch(44.8 106.5 319.9)
OKLCHoklch(0.561 0.276 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae02df on white: 5.42:1
AA ✓ pass · AA-large · AAA
Aa
#ae02df on black: 3.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green0.8%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta99.1%
Yellow0.0%
Key (black)12.5%

Color previews

#ae02df text on a black background

contrast 3.87:1

Card sample

#ae02df text on a white background

contrast 5.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae02df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae02df in the Color Lab