Skip to content

#ae2ecf

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

RGB
174, 46, 207
HSL
288°, 64%, 50%
CMYK
16, 78, 0, 19
Luminance
0.1546

Every format

HEX#ae2ecf
RGBrgb(174, 46, 207)
HSLhsl(288, 64%, 50%)
CMYKcmyk(16%, 78%, 0%, 19%)
LABlab(46.3 70.9 -57.0)
LCHlch(46.3 91.0 321.2)
OKLCHoklch(0.568 0.241 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2ecf on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#ae2ecf on black: 4.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.0%
Blue81.2%

CMYK percentages

Cyan15.9%
Magenta77.8%
Yellow0.0%
Key (black)18.8%

Color previews

#ae2ecf text on a black background

contrast 4.09:1

Card sample

#ae2ecf text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2ecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2ecf in the Color Lab