Skip to content

#ad2fdf

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

RGB
173, 47, 223
HSL
283°, 73%, 53%
CMYK
22, 79, 0, 13
Luminance
0.1624

Every format

HEX#ad2fdf
RGBrgb(173, 47, 223)
HSLhsl(283, 73%, 53%)
CMYKcmyk(22%, 79%, 0%, 13%)
LABlab(47.3 73.4 -64.5)
LCHlch(47.3 97.8 318.7)
OKLCHoklch(0.579 0.253 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2fdf on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#ad2fdf on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ad2fdf text on a black background

contrast 4.25:1

Card sample

#ad2fdf text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2fdf in the Color Lab