Skip to content

#ae4dfd

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

RGB
174, 77, 253
HSL
273°, 98%, 65%
CMYK
31, 70, 0, 1
Luminance
0.2140

Every format

HEX#ae4dfd
RGBrgb(174, 77, 253)
HSLhsl(273, 98%, 65%)
CMYKcmyk(31%, 70%, 0%, 1%)
LABlab(53.4 68.7 -71.5)
LCHlch(53.4 99.2 313.9)
OKLCHoklch(0.629 0.249 305.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae4dfd on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#ae4dfd on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green30.2%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta69.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ae4dfd text on a black background

contrast 5.28:1

Card sample

#ae4dfd text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae4dfd in the Color Lab