Skip to content

#ae4afd

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

RGB
174, 74, 253
HSL
274°, 98%, 64%
CMYK
31, 71, 0, 1
Luminance
0.2099

Every format

HEX#ae4afd
RGBrgb(174, 74, 253)
HSLhsl(274, 98%, 64%)
CMYKcmyk(31%, 71%, 0%, 1%)
LABlab(52.9 70.0 -72.2)
LCHlch(52.9 100.6 314.1)
OKLCHoklch(0.625 0.253 305.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae4afd on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#ae4afd on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green29.0%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta70.8%
Yellow0.0%
Key (black)0.8%

Color previews

#ae4afd text on a black background

contrast 5.20:1

Card sample

#ae4afd text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae4afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae4afd in the Color Lab