Skip to content

#ad15df

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

RGB
173, 21, 223
HSL
285°, 83%, 48%
CMYK
22, 91, 0, 13
Luminance
0.1475

Every format

HEX#ad15df
RGBrgb(173, 21, 223)
HSLhsl(285, 83%, 48%)
CMYKcmyk(22%, 91%, 0%, 13%)
LABlab(45.3 79.3 -67.8)
LCHlch(45.3 104.3 319.5)
OKLCHoklch(0.565 0.270 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad15df on white: 5.32:1
AA ✓ pass · AA-large · AAA
Aa
#ad15df on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green8.2%
Blue87.5%

CMYK percentages

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

Color previews

#ad15df text on a black background

contrast 3.95:1

Card sample

#ad15df text on a white background

contrast 5.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad15df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad15df in the Color Lab