Skip to content

#ad29eb

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

RGB
173, 41, 235
HSL
281°, 83%, 54%
CMYK
26, 83, 0, 8
Luminance
0.1647

Every format

HEX#ad29eb
RGBrgb(173, 41, 235)
HSLhsl(281, 83%, 54%)
CMYKcmyk(26%, 83%, 0%, 8%)
LABlab(47.6 77.4 -70.9)
LCHlch(47.6 105.0 317.5)
OKLCHoklch(0.584 0.267 311.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad29eb on white: 4.89:1
AA ✓ pass · AA-large · AAA
Aa
#ad29eb on black: 4.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green16.1%
Blue92.2%

CMYK percentages

Cyan26.4%
Magenta82.6%
Yellow0.0%
Key (black)7.8%

Color previews

#ad29eb text on a black background

contrast 4.29:1

Card sample

#ad29eb text on a white background

contrast 4.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad29eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad29eb in the Color Lab