Skip to content

#ac16fd

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

RGB
172, 22, 253
HSL
279°, 98%, 54%
CMYK
32, 91, 0, 1
Luminance
0.1644

Every format

HEX#ac16fd
RGBrgb(172, 22, 253)
HSLhsl(279, 98%, 54%)
CMYKcmyk(32%, 91%, 0%, 1%)
LABlab(47.5 84.6 -81.0)
LCHlch(47.5 117.1 316.2)
OKLCHoklch(0.587 0.292 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac16fd on white: 4.90:1
AA ✓ pass · AA-large · AAA
Aa
#ac16fd on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green8.6%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta91.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ac16fd text on a black background

contrast 4.29:1

Card sample

#ac16fd text on a white background

contrast 4.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac16fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac16fd in the Color Lab