Skip to content

#ad3cd4

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

RGB
173, 60, 212
HSL
285°, 64%, 53%
CMYK
18, 72, 0, 17
Luminance
0.1687

Every format

HEX#ad3cd4
RGBrgb(173, 60, 212)
HSLhsl(285, 64%, 53%)
CMYKcmyk(18%, 72%, 0%, 17%)
LABlab(48.1 66.9 -57.0)
LCHlch(48.1 87.9 319.6)
OKLCHoklch(0.582 0.230 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3cd4 on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#ad3cd4 on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green23.5%
Blue83.1%

CMYK percentages

Cyan18.4%
Magenta71.7%
Yellow0.0%
Key (black)16.9%

Color previews

#ad3cd4 text on a black background

contrast 4.37:1

Card sample

#ad3cd4 text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3cd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3cd4 in the Color Lab