Skip to content

#ae2fcc

a balanced, vivid violet · warm · closest name: purple

RGB
174, 47, 204
HSL
289°, 63%, 49%
CMYK
15, 77, 0, 20
Luminance
0.1539

Every format

HEX#ae2fcc
RGBrgb(174, 47, 204)
HSLhsl(289, 63%, 49%)
CMYKcmyk(15%, 77%, 0%, 20%)
LABlab(46.2 70.1 -55.4)
LCHlch(46.2 89.3 321.6)
OKLCHoklch(0.567 0.237 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fcc on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fcc on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue80.0%

CMYK percentages

Cyan14.7%
Magenta77.0%
Yellow0.0%
Key (black)20.0%

Color previews

#ae2fcc text on a black background

contrast 4.08:1

Card sample

#ae2fcc text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fcc in the Color Lab