Skip to content

#ac99df

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

RGB
172, 153, 223
HSL
256°, 52%, 74%
CMYK
23, 31, 0, 13
Luminance
0.3688

Every format

HEX#ac99df
RGBrgb(172, 153, 223)
HSLhsl(256, 52%, 74%)
CMYKcmyk(23%, 31%, 0%, 13%)
LABlab(67.2 21.4 -33.0)
LCHlch(67.2 39.3 303.0)
OKLCHoklch(0.726 0.102 296.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac99df on white: 2.51:1
AA ✗ fail · AA-large · AAA
Aa
#ac99df on black: 8.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.0%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta31.4%
Yellow0.0%
Key (black)12.5%

Color previews

#ac99df text on a black background

contrast 8.38:1

Card sample

#ac99df text on a white background

contrast 2.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac99df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac99df in the Color Lab