Skip to content

#ae2fee

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

RGB
174, 47, 238
HSL
280°, 85%, 56%
CMYK
27, 80, 0, 7
Luminance
0.1720

Every format

HEX#ae2fee
RGBrgb(174, 47, 238)
HSLhsl(280, 85%, 56%)
CMYKcmyk(27%, 80%, 0%, 7%)
LABlab(48.5 76.5 -71.0)
LCHlch(48.5 104.4 317.1)
OKLCHoklch(0.591 0.266 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2fee on white: 4.73:1
AA ✓ pass · AA-large · AAA
Aa
#ae2fee on black: 4.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green18.4%
Blue93.3%

CMYK percentages

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

Color previews

#ae2fee text on a black background

contrast 4.44:1

Card sample

#ae2fee text on a white background

contrast 4.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2fee in the Color Lab