Skip to content

#ad4eff

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

RGB
173, 78, 255
HSL
272°, 100%, 65%
CMYK
32, 69, 0, 0
Luminance
0.2155

Every format

HEX#ad4eff
RGBrgb(173, 78, 255)
HSLhsl(272, 100%, 65%)
CMYKcmyk(32%, 69%, 0%, 0%)
LABlab(53.5 68.6 -72.4)
LCHlch(53.5 99.7 313.5)
OKLCHoklch(0.630 0.250 304.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4eff on white: 3.95:1
AA ✗ fail · AA-large · AAA
Aa
#ad4eff on black: 5.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green30.6%
Blue100.0%

CMYK percentages

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

Color previews

#ad4eff text on a black background

contrast 5.31:1

Card sample

#ad4eff text on a white background

contrast 3.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4eff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4eff in the Color Lab