Skip to content

#ac97df

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

RGB
172, 151, 223
HSL
258°, 53%, 73%
CMYK
23, 32, 0, 13
Luminance
0.3623

Every format

HEX#ac97df
RGBrgb(172, 151, 223)
HSLhsl(258, 53%, 73%)
CMYKcmyk(23%, 32%, 0%, 13%)
LABlab(66.7 22.6 -33.7)
LCHlch(66.7 40.6 303.8)
OKLCHoklch(0.722 0.105 297.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac97df on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#ac97df on black: 8.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green59.2%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta32.3%
Yellow0.0%
Key (black)12.5%

Color previews

#ac97df text on a black background

contrast 8.25:1

Card sample

#ac97df text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac97df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac97df in the Color Lab