Skip to content

#ac2ccd

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

RGB
172, 44, 205
HSL
288°, 65%, 49%
CMYK
16, 79, 0, 20
Luminance
0.1498

Every format

HEX#ac2ccd
RGBrgb(172, 44, 205)
HSLhsl(288, 65%, 49%)
CMYKcmyk(16%, 79%, 0%, 20%)
LABlab(45.6 70.8 -56.9)
LCHlch(45.6 90.8 321.2)
OKLCHoklch(0.563 0.240 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2ccd on white: 5.26:1
AA ✓ pass · AA-large · AAA
Aa
#ac2ccd on black: 4.00:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.3%
Blue80.4%

CMYK percentages

Cyan16.1%
Magenta78.5%
Yellow0.0%
Key (black)19.6%

Color previews

#ac2ccd text on a black background

contrast 4.00:1

Card sample

#ac2ccd text on a white background

contrast 5.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2ccd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2ccd in the Color Lab