Skip to content

#ad50fd

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

RGB
173, 80, 253
HSL
272°, 98%, 65%
CMYK
32, 68, 0, 1
Luminance
0.2171

Every format

HEX#ad50fd
RGBrgb(173, 80, 253)
HSLhsl(272, 98%, 65%)
CMYKcmyk(32%, 68%, 0%, 1%)
LABlab(53.7 67.3 -71.0)
LCHlch(53.7 97.8 313.5)
OKLCHoklch(0.631 0.246 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad50fd on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#ad50fd on black: 5.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green31.4%
Blue99.2%

CMYK percentages

Cyan31.6%
Magenta68.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ad50fd text on a black background

contrast 5.34:1

Card sample

#ad50fd text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad50fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad50fd in the Color Lab