Skip to content

#ae2dff

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

RGB
174, 45, 255
HSL
277°, 100%, 59%
CMYK
32, 82, 0, 0
Luminance
0.1810

Every format

HEX#ae2dff
RGBrgb(174, 45, 255)
HSLhsl(277, 100%, 59%)
CMYKcmyk(32%, 82%, 0%, 0%)
LABlab(49.6 80.4 -78.8)
LCHlch(49.6 112.6 315.6)
OKLCHoklch(0.603 0.281 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae2dff on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#ae2dff on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green17.6%
Blue100.0%

CMYK percentages

Cyan31.8%
Magenta82.4%
Yellow0.0%
Key (black)0.0%

Color previews

#ae2dff text on a black background

contrast 4.62:1

Card sample

#ae2dff text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae2dff in the Color Lab