Skip to content

#ae2dfd

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

RGB
174, 45, 253
HSL
277°, 98%, 58%
CMYK
31, 82, 0, 1
Luminance
0.1797

Every format

HEX#ae2dfd
RGBrgb(174, 45, 253)
HSLhsl(277, 98%, 58%)
CMYKcmyk(31%, 82%, 0%, 1%)
LABlab(49.5 80.0 -77.9)
LCHlch(49.5 111.7 315.8)
OKLCHoklch(0.601 0.280 307.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2dfd on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#ae2dfd on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan31.2%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ae2dfd text on a black background

contrast 4.59:1

Card sample

#ae2dfd text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2dfd in the Color Lab