Skip to content

#ad2ecf

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

RGB
173, 46, 207
HSL
287°, 64%, 50%
CMYK
16, 78, 0, 19
Luminance
0.1534

Every format

HEX#ad2ecf
RGBrgb(173, 46, 207)
HSLhsl(287, 64%, 50%)
CMYKcmyk(16%, 78%, 0%, 19%)
LABlab(46.1 70.7 -57.3)
LCHlch(46.1 91.0 321.0)
OKLCHoklch(0.567 0.240 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2ecf on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ecf on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.0%
Blue81.2%

CMYK percentages

Cyan16.4%
Magenta77.8%
Yellow0.0%
Key (black)18.8%

Color previews

#ad2ecf text on a black background

contrast 4.07:1

Card sample

#ad2ecf text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2ecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2ecf in the Color Lab