Skip to content

#ac9ef1

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

RGB
172, 158, 241
HSL
250°, 75%, 78%
CMYK
29, 34, 0, 6
Luminance
0.3958

Every format

HEX#ac9ef1
RGBrgb(172, 158, 241)
HSLhsl(250, 75%, 78%)
CMYKcmyk(29%, 34%, 0%, 6%)
LABlab(69.2 22.9 -39.8)
LCHlch(69.2 45.9 300.0)
OKLCHoklch(0.743 0.119 291.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9ef1 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#ac9ef1 on black: 8.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green62.0%
Blue94.5%

CMYK percentages

Cyan28.6%
Magenta34.4%
Yellow0.0%
Key (black)5.5%

Color previews

#ac9ef1 text on a black background

contrast 8.92:1

Card sample

#ac9ef1 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9ef1 in the Color Lab