Skip to content

#ad4dff

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

RGB
173, 77, 255
HSL
272°, 100%, 65%
CMYK
32, 70, 0, 0
Luminance
0.2141

Every format

HEX#ad4dff
RGBrgb(173, 77, 255)
HSLhsl(272, 100%, 65%)
CMYKcmyk(32%, 70%, 0%, 0%)
LABlab(53.4 69.0 -72.6)
LCHlch(53.4 100.2 313.5)
OKLCHoklch(0.629 0.251 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4dff on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#ad4dff on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green30.2%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta69.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ad4dff text on a black background

contrast 5.28:1

Card sample

#ad4dff text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4dff in the Color Lab