Skip to content

#ae3afd

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

RGB
174, 58, 253
HSL
276°, 98%, 61%
CMYK
31, 77, 0, 1
Luminance
0.1912

Every format

HEX#ae3afd
RGBrgb(174, 58, 253)
HSLhsl(276, 98%, 61%)
CMYKcmyk(31%, 77%, 0%, 1%)
LABlab(50.8 76.0 -75.7)
LCHlch(50.8 107.3 315.1)
OKLCHoklch(0.611 0.269 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae3afd on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#ae3afd on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green22.7%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#ae3afd text on a black background

contrast 4.82:1

Card sample

#ae3afd text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae3afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae3afd in the Color Lab