Skip to content

#ac99ce

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

RGB
172, 153, 206
HSL
262°, 35%, 70%
CMYK
17, 26, 0, 19
Luminance
0.3601

Every format

HEX#ac99ce
RGBrgb(172, 153, 206)
HSLhsl(262, 35%, 70%)
CMYKcmyk(17%, 26%, 0%, 19%)
LABlab(66.5 17.5 -24.6)
LCHlch(66.5 30.2 305.5)
OKLCHoklch(0.718 0.078 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green60.0%
Blue80.8%

CMYK percentages

Cyan16.5%
Magenta25.7%
Yellow0.0%
Key (black)19.2%

Color previews

#ac99ce text on a black background

contrast 8.20:1

Card sample

#ac99ce text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac99ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac99ce in the Color Lab