Skip to content

#ae2eee

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

RGB
174, 46, 238
HSL
280°, 85%, 56%
CMYK
27, 81, 0, 7
Luminance
0.1713

Every format

HEX#ae2eee
RGBrgb(174, 46, 238)
HSLhsl(280, 85%, 56%)
CMYKcmyk(27%, 81%, 0%, 7%)
LABlab(48.4 76.8 -71.2)
LCHlch(48.4 104.7 317.2)
OKLCHoklch(0.590 0.266 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2eee on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#ae2eee on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.0%
Blue93.3%

CMYK percentages

Cyan26.9%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#ae2eee text on a black background

contrast 4.43:1

Card sample

#ae2eee text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2eee in the Color Lab