Skip to content

#ad2ac9

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

RGB
173, 42, 201
HSL
289°, 65%, 48%
CMYK
14, 79, 0, 21
Luminance
0.1476

Every format

HEX#ad2ac9
RGBrgb(173, 42, 201)
HSLhsl(289, 65%, 48%)
CMYKcmyk(14%, 79%, 0%, 21%)
LABlab(45.3 70.8 -55.1)
LCHlch(45.3 89.7 322.1)
OKLCHoklch(0.560 0.239 319.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2ac9 on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ac9 on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green16.5%
Blue78.8%

CMYK percentages

Cyan13.9%
Magenta79.1%
Yellow0.0%
Key (black)21.2%

Color previews

#ad2ac9 text on a black background

contrast 3.95:1

Card sample

#ad2ac9 text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 42, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 42, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2ac9;
background: linear-gradient(135deg, #ad2ac9, #C92A7B);

Monochromatic scale

Palettes built from #ad2ac9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2ac9 in the Color Lab