Skip to content

#ae9afb

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

RGB
174, 154, 251
HSL
252°, 92%, 79%
CMYK
31, 39, 0, 2
Luminance
0.3907

Every format

HEX#ae9afb
RGBrgb(174, 154, 251)
HSLhsl(252, 92%, 79%)
CMYKcmyk(31%, 39%, 0%, 2%)
LABlab(68.8 28.2 -45.8)
LCHlch(68.8 53.8 301.6)
OKLCHoklch(0.742 0.138 292.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae9afb on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#ae9afb on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green60.4%
Blue98.4%

CMYK percentages

Cyan30.7%
Magenta38.6%
Yellow0.0%
Key (black)1.6%

Color previews

#ae9afb text on a black background

contrast 8.81:1

Card sample

#ae9afb text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae9afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae9afb in the Color Lab