Skip to content

#ac9bbc

a light, soft violet · warm · closest name: plum

RGB
172, 155, 188
HSL
271°, 20%, 67%
CMYK
9, 18, 0, 26
Luminance
0.3584

Every format

HEX#ac9bbc
RGBrgb(172, 155, 188)
HSLhsl(271, 20%, 67%)
CMYKcmyk(9%, 18%, 0%, 26%)
LABlab(66.4 12.6 -14.8)
LCHlch(66.4 19.4 310.4)
OKLCHoklch(0.715 0.051 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9bbc on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ac9bbc on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.8%
Blue73.7%

CMYK percentages

Cyan8.5%
Magenta17.6%
Yellow0.0%
Key (black)26.3%

Color previews

#ac9bbc text on a black background

contrast 8.17:1

Card sample

#ac9bbc text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9bbc in the Color Lab