Skip to content

#ad2adc

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

RGB
173, 42, 220
HSL
284°, 72%, 51%
CMYK
21, 81, 0, 14
Luminance
0.1571

Every format

HEX#ad2adc
RGBrgb(173, 42, 220)
HSLhsl(284, 72%, 51%)
CMYKcmyk(21%, 81%, 0%, 14%)
LABlab(46.6 74.3 -64.0)
LCHlch(46.6 98.0 319.3)
OKLCHoklch(0.573 0.254 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2adc on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#ad2adc on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green16.5%
Blue86.3%

CMYK percentages

Cyan21.4%
Magenta80.9%
Yellow0.0%
Key (black)13.7%

Color previews

#ad2adc text on a black background

contrast 4.14:1

Card sample

#ad2adc text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2adc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2adc in the Color Lab