Skip to content

#ac9fec

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

RGB
172, 159, 236
HSL
250°, 67%, 78%
CMYK
27, 33, 0, 8
Luminance
0.3962

Every format

HEX#ac9fec
RGBrgb(172, 159, 236)
HSLhsl(250, 67%, 78%)
CMYKcmyk(27%, 33%, 0%, 8%)
LABlab(69.2 21.1 -37.0)
LCHlch(69.2 42.6 299.8)
OKLCHoklch(0.743 0.110 291.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green62.4%
Blue92.5%

CMYK percentages

Cyan27.1%
Magenta32.6%
Yellow0.0%
Key (black)7.5%

Color previews

#ac9fec text on a black background

contrast 8.92:1

Card sample

#ac9fec text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9fec in the Color Lab