Skip to content

#ad32df

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

RGB
173, 50, 223
HSL
283°, 73%, 54%
CMYK
22, 78, 0, 13
Luminance
0.1649

Every format

HEX#ad32df
RGBrgb(173, 50, 223)
HSLhsl(283, 73%, 54%)
CMYKcmyk(22%, 78%, 0%, 13%)
LABlab(47.6 72.5 -64.0)
LCHlch(47.6 96.7 318.6)
OKLCHoklch(0.581 0.250 313.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad32df on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#ad32df on black: 4.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green19.6%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta77.6%
Yellow0.0%
Key (black)12.5%

Color previews

#ad32df text on a black background

contrast 4.30:1

Card sample

#ad32df text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad32df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad32df in the Color Lab