Skip to content

#ad7cd0

a light, vivid violet · warm · closest name: plum

RGB
173, 124, 208
HSL
275°, 47%, 65%
CMYK
17, 40, 0, 18
Luminance
0.2785

Every format

HEX#ad7cd0
RGBrgb(173, 124, 208)
HSLhsl(275, 47%, 65%)
CMYKcmyk(17%, 40%, 0%, 18%)
LABlab(59.8 34.6 -36.2)
LCHlch(59.8 50.1 313.8)
OKLCHoklch(0.667 0.131 310.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad7cd0 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#ad7cd0 on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green48.6%
Blue81.6%

CMYK percentages

Cyan16.8%
Magenta40.4%
Yellow0.0%
Key (black)18.4%

Color previews

#ad7cd0 text on a black background

contrast 6.57:1

Card sample

#ad7cd0 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad7cd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad7cd0 in the Color Lab