Skip to content

#ac99cf

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

RGB
172, 153, 207
HSL
261°, 36%, 71%
CMYK
17, 26, 0, 19
Luminance
0.3606

Every format

HEX#ac99cf
RGBrgb(172, 153, 207)
HSLhsl(261, 36%, 71%)
CMYKcmyk(17%, 26%, 0%, 19%)
LABlab(66.6 17.8 -25.1)
LCHlch(66.6 30.7 305.3)
OKLCHoklch(0.719 0.080 300.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac99cf on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#ac99cf on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.0%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta26.1%
Yellow0.0%
Key (black)18.8%

Color previews

#ac99cf text on a black background

contrast 8.21:1

Card sample

#ac99cf text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac99cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac99cf in the Color Lab