Skip to content

#ae2dfe

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

RGB
174, 45, 254
HSL
277°, 99%, 59%
CMYK
32, 82, 0, 0
Luminance
0.1803

Every format

HEX#ae2dfe
RGBrgb(174, 45, 254)
HSLhsl(277, 99%, 59%)
CMYKcmyk(32%, 82%, 0%, 0%)
LABlab(49.5 80.2 -78.3)
LCHlch(49.5 112.1 315.7)
OKLCHoklch(0.602 0.280 307.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2dfe on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#ae2dfe on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.6%
Blue99.6%

CMYK percentages

Cyan31.5%
Magenta82.3%
Yellow0.0%
Key (black)0.4%

Color previews

#ae2dfe text on a black background

contrast 4.61:1

Card sample

#ae2dfe text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2dfe in the Color Lab