Skip to content

#ad2cdf

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

RGB
173, 44, 223
HSL
283°, 74%, 52%
CMYK
22, 80, 0, 13
Luminance
0.1601

Every format

HEX#ad2cdf
RGBrgb(173, 44, 223)
HSLhsl(283, 74%, 52%)
CMYKcmyk(22%, 80%, 0%, 13%)
LABlab(47.0 74.3 -65.0)
LCHlch(47.0 98.7 318.8)
OKLCHoklch(0.577 0.255 313.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2cdf on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#ad2cdf on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green17.3%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#ad2cdf text on a black background

contrast 4.20:1

Card sample

#ad2cdf text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2cdf in the Color Lab