Skip to content

#ae9ef1

a light, vivid blue · warm · closest name: plum

RGB
174, 158, 241
HSL
252°, 75%, 78%
CMYK
28, 34, 0, 6
Luminance
0.3980

Every format

HEX#ae9ef1
RGBrgb(174, 158, 241)
HSLhsl(252, 75%, 78%)
CMYKcmyk(28%, 34%, 0%, 6%)
LABlab(69.3 23.5 -39.5)
LCHlch(69.3 46.0 300.7)
OKLCHoklch(0.745 0.119 292.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae9ef1 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#ae9ef1 on black: 8.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green62.0%
Blue94.5%

CMYK percentages

Cyan27.8%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#ae9ef1 text on a black background

contrast 8.96:1

Card sample

#ae9ef1 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae9ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae9ef1 in the Color Lab