Skip to content

#ad32fd

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

RGB
173, 50, 253
HSL
276°, 98%, 59%
CMYK
32, 80, 0, 1
Luminance
0.1826

Every format

HEX#ad32fd
RGBrgb(173, 50, 253)
HSLhsl(276, 98%, 59%)
CMYKcmyk(32%, 80%, 0%, 1%)
LABlab(49.8 78.5 -77.3)
LCHlch(49.8 110.2 315.4)
OKLCHoklch(0.603 0.276 307.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad32fd on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#ad32fd on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green19.6%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta80.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ad32fd text on a black background

contrast 4.65:1

Card sample

#ad32fd text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad32fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad32fd in the Color Lab