Skip to content

#ad2ddf

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

RGB
173, 45, 223
HSL
283°, 74%, 53%
CMYK
22, 80, 0, 13
Luminance
0.1609

Every format

HEX#ad2ddf
RGBrgb(173, 45, 223)
HSLhsl(283, 74%, 53%)
CMYKcmyk(22%, 80%, 0%, 13%)
LABlab(47.1 74.0 -64.8)
LCHlch(47.1 98.4 318.8)
OKLCHoklch(0.577 0.254 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2ddf on white: 4.98:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ddf on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green17.6%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta79.8%
Yellow0.0%
Key (black)12.5%

Color previews

#ad2ddf text on a black background

contrast 4.22:1

Card sample

#ad2ddf text on a white background

contrast 4.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2ddf in the Color Lab