Skip to content

#ac32cc

a balanced, vivid violet · warm · closest name: purple

RGB
172, 50, 204
HSL
288°, 61%, 50%
CMYK
16, 76, 0, 20
Luminance
0.1541

Every format

HEX#ac32cc
RGBrgb(172, 50, 204)
HSLhsl(288, 61%, 50%)
CMYKcmyk(16%, 76%, 0%, 20%)
LABlab(46.2 68.7 -55.4)
LCHlch(46.2 88.3 321.1)
OKLCHoklch(0.567 0.234 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac32cc on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#ac32cc on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green19.6%
Blue80.0%

CMYK percentages

Cyan15.7%
Magenta75.5%
Yellow0.0%
Key (black)20.0%

Color previews

#ac32cc text on a black background

contrast 4.08:1

Card sample

#ac32cc text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac32cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac32cc in the Color Lab