Skip to content

#ac9cdf

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

RGB
172, 156, 223
HSL
254°, 51%, 74%
CMYK
23, 30, 0, 13
Luminance
0.3788

Every format

HEX#ac9cdf
RGBrgb(172, 156, 223)
HSLhsl(254, 51%, 74%)
CMYKcmyk(23%, 30%, 0%, 13%)
LABlab(67.9 19.7 -31.8)
LCHlch(67.9 37.5 301.8)
OKLCHoklch(0.731 0.097 294.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9cdf on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#ac9cdf on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green61.2%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta30.0%
Yellow0.0%
Key (black)12.5%

Color previews

#ac9cdf text on a black background

contrast 8.58:1

Card sample

#ac9cdf text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9cdf in the Color Lab