Skip to content

#ad4df1

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

RGB
173, 77, 241
HSL
275°, 85%, 62%
CMYK
28, 68, 0, 6
Luminance
0.2054

Every format

HEX#ad4df1
RGBrgb(173, 77, 241)
HSLhsl(275, 85%, 62%)
CMYKcmyk(28%, 68%, 0%, 6%)
LABlab(52.5 65.9 -66.3)
LCHlch(52.5 93.5 314.8)
OKLCHoklch(0.619 0.237 307.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4df1 on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#ad4df1 on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green30.2%
Blue94.5%

CMYK percentages

Cyan28.2%
Magenta68.0%
Yellow0.0%
Key (black)5.5%

Color previews

#ad4df1 text on a black background

contrast 5.11:1

Card sample

#ad4df1 text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4df1 in the Color Lab