Skip to content

#ad4af4

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

RGB
173, 74, 244
HSL
275°, 89%, 62%
CMYK
29, 70, 0, 4
Luminance
0.2031

Every format

HEX#ad4af4
RGBrgb(173, 74, 244)
HSLhsl(275, 89%, 62%)
CMYKcmyk(29%, 70%, 0%, 4%)
LABlab(52.2 67.9 -68.4)
LCHlch(52.2 96.4 314.8)
OKLCHoklch(0.618 0.244 307.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4af4 on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#ad4af4 on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green29.0%
Blue95.7%

CMYK percentages

Cyan29.1%
Magenta69.7%
Yellow0.0%
Key (black)4.3%

Color previews

#ad4af4 text on a black background

contrast 5.06:1

Card sample

#ad4af4 text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4af4 in the Color Lab