Skip to content

#ad3fdf

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

RGB
173, 63, 223
HSL
281°, 71%, 56%
CMYK
22, 72, 0, 13
Luminance
0.1777

Every format

HEX#ad3fdf
RGBrgb(173, 63, 223)
HSLhsl(281, 71%, 56%)
CMYKcmyk(22%, 72%, 0%, 13%)
LABlab(49.2 67.9 -61.4)
LCHlch(49.2 91.6 317.9)
OKLCHoklch(0.592 0.237 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad3fdf on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#ad3fdf on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green24.7%
Blue87.5%

CMYK percentages

Cyan22.4%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ad3fdf text on a black background

contrast 4.55:1

Card sample

#ad3fdf text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad3fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad3fdf in the Color Lab