Skip to content

#ad2dce

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

RGB
173, 45, 206
HSL
288°, 64%, 49%
CMYK
16, 78, 0, 19
Luminance
0.1522

Every format

HEX#ad2dce
RGBrgb(173, 45, 206)
HSLhsl(288, 64%, 49%)
CMYKcmyk(16%, 78%, 0%, 19%)
LABlab(45.9 70.9 -57.0)
LCHlch(45.9 90.9 321.2)
OKLCHoklch(0.566 0.240 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2dce on white: 5.19:1
AA ✓ pass · AA-large · AAA
Aa
#ad2dce on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green17.6%
Blue80.8%

CMYK percentages

Cyan16.0%
Magenta78.2%
Yellow0.0%
Key (black)19.2%

Color previews

#ad2dce text on a black background

contrast 4.04:1

Card sample

#ad2dce text on a white background

contrast 5.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2dce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2dce in the Color Lab