Skip to content

#ae2cef

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

RGB
174, 44, 239
HSL
280°, 86%, 56%
CMYK
27, 82, 0, 6
Luminance
0.1703

Every format

HEX#ae2cef
RGBrgb(174, 44, 239)
HSLhsl(280, 86%, 56%)
CMYKcmyk(27%, 82%, 0%, 6%)
LABlab(48.3 77.5 -71.9)
LCHlch(48.3 105.8 317.1)
OKLCHoklch(0.590 0.269 310.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2cef on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#ae2cef on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.3%
Blue93.7%

CMYK percentages

Cyan27.2%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#ae2cef text on a black background

contrast 4.41:1

Card sample

#ae2cef text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2cef in the Color Lab