Skip to content

#ae45fd

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

RGB
174, 69, 253
HSL
274°, 98%, 63%
CMYK
31, 73, 0, 1
Luminance
0.2035

Every format

HEX#ae45fd
RGBrgb(174, 69, 253)
HSLhsl(274, 98%, 63%)
CMYKcmyk(31%, 73%, 0%, 1%)
LABlab(52.2 72.0 -73.4)
LCHlch(52.2 102.8 314.5)
OKLCHoklch(0.620 0.258 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae45fd on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#ae45fd on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green27.1%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta72.7%
Yellow0.0%
Key (black)0.8%

Color previews

#ae45fd text on a black background

contrast 5.07:1

Card sample

#ae45fd text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae45fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae45fd in the Color Lab