Skip to content

#ae4af3

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

RGB
174, 74, 243
HSL
276°, 88%, 62%
CMYK
28, 70, 0, 5
Luminance
0.2037

Every format

HEX#ae4af3
RGBrgb(174, 74, 243)
HSLhsl(276, 88%, 62%)
CMYKcmyk(28%, 70%, 0%, 5%)
LABlab(52.3 67.8 -67.8)
LCHlch(52.3 95.9 315.0)
OKLCHoklch(0.618 0.243 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae4af3 on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#ae4af3 on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green29.0%
Blue95.3%

CMYK percentages

Cyan28.4%
Magenta69.5%
Yellow0.0%
Key (black)4.7%

Color previews

#ae4af3 text on a black background

contrast 5.07:1

Card sample

#ae4af3 text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae4af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae4af3 in the Color Lab