Skip to content

#ad2ffd

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

RGB
173, 47, 253
HSL
277°, 98%, 59%
CMYK
32, 81, 0, 1
Luminance
0.1801

Every format

HEX#ad2ffd
RGBrgb(173, 47, 253)
HSLhsl(277, 98%, 59%)
CMYKcmyk(32%, 81%, 0%, 1%)
LABlab(49.5 79.3 -77.8)
LCHlch(49.5 111.1 315.5)
OKLCHoklch(0.601 0.278 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad2ffd on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#ad2ffd on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green18.4%
Blue99.2%

CMYK percentages

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

Color previews

#ad2ffd text on a black background

contrast 4.60:1

Card sample

#ad2ffd text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad2ffd in the Color Lab