Skip to content

#ad2fcc

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

RGB
173, 47, 204
HSL
288°, 63%, 49%
CMYK
15, 77, 0, 20
Luminance
0.1528

Every format

HEX#ad2fcc
RGBrgb(173, 47, 204)
HSLhsl(288, 63%, 49%)
CMYKcmyk(15%, 77%, 0%, 20%)
LABlab(46.0 69.9 -55.7)
LCHlch(46.0 89.4 321.4)
OKLCHoklch(0.566 0.237 318.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2fcc on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#ad2fcc on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue80.0%

CMYK percentages

Cyan15.2%
Magenta77.0%
Yellow0.0%
Key (black)20.0%

Color previews

#ad2fcc text on a black background

contrast 4.06:1

Card sample

#ad2fcc text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2fcc in the Color Lab