Skip to content

#ad2acd

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

RGB
173, 42, 205
HSL
288°, 66%, 48%
CMYK
16, 80, 0, 20
Luminance
0.1495

Every format

HEX#ad2acd
RGBrgb(173, 42, 205)
HSLhsl(288, 66%, 48%)
CMYKcmyk(16%, 80%, 0%, 20%)
LABlab(45.6 71.5 -57.0)
LCHlch(45.6 91.5 321.5)
OKLCHoklch(0.563 0.242 318.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green16.5%
Blue80.4%

CMYK percentages

Cyan15.6%
Magenta79.5%
Yellow0.0%
Key (black)19.6%

Color previews

#ad2acd text on a black background

contrast 3.99:1

Card sample

#ad2acd text on a white background

contrast 5.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2acd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2acd in the Color Lab