Skip to content

#ad29cf

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

RGB
173, 41, 207
HSL
288°, 67%, 49%
CMYK
16, 80, 0, 19
Luminance
0.1498

Every format

HEX#ad29cf
RGBrgb(173, 41, 207)
HSLhsl(288, 67%, 49%)
CMYKcmyk(16%, 80%, 0%, 19%)
LABlab(45.6 72.2 -58.1)
LCHlch(45.6 92.7 321.2)
OKLCHoklch(0.563 0.245 318.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green16.1%
Blue81.2%

CMYK percentages

Cyan16.4%
Magenta80.2%
Yellow0.0%
Key (black)18.8%

Color previews

#ad29cf text on a black background

contrast 4.00:1

Card sample

#ad29cf text on a white background

contrast 5.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad29cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad29cf in the Color Lab