Skip to content

#ad4dfe

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

RGB
173, 77, 254
HSL
273°, 99%, 65%
CMYK
32, 70, 0, 0
Luminance
0.2135

Every format

HEX#ad4dfe
RGBrgb(173, 77, 254)
HSLhsl(273, 99%, 65%)
CMYKcmyk(32%, 70%, 0%, 0%)
LABlab(53.3 68.8 -72.2)
LCHlch(53.3 99.7 313.6)
OKLCHoklch(0.628 0.250 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4dfe on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#ad4dfe on black: 5.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green30.2%
Blue99.6%

CMYK percentages

Cyan31.9%
Magenta69.7%
Yellow0.0%
Key (black)0.4%

Color previews

#ad4dfe text on a black background

contrast 5.27:1

Card sample

#ad4dfe text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4dfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4dfe in the Color Lab