Skip to content

#ae0dfd

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

RGB
174, 13, 253
HSL
280°, 98%, 52%
CMYK
31, 95, 0, 1
Luminance
0.1638

Every format

HEX#ae0dfd
RGBrgb(174, 13, 253)
HSLhsl(280, 98%, 52%)
CMYKcmyk(31%, 95%, 0%, 1%)
LABlab(47.5 85.9 -81.2)
LCHlch(47.5 118.2 316.6)
OKLCHoklch(0.587 0.295 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae0dfd on white: 4.91:1
AA ✓ pass · AA-large · AAA
Aa
#ae0dfd on black: 4.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green5.1%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ae0dfd text on a black background

contrast 4.28:1

Card sample

#ae0dfd text on a white background

contrast 4.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae0dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae0dfd in the Color Lab