Skip to content

#ad4ef1

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

RGB
173, 78, 241
HSL
275°, 85%, 63%
CMYK
28, 68, 0, 6
Luminance
0.2068

Every format

HEX#ad4ef1
RGBrgb(173, 78, 241)
HSLhsl(275, 85%, 63%)
CMYKcmyk(28%, 68%, 0%, 6%)
LABlab(52.6 65.5 -66.1)
LCHlch(52.6 93.1 314.7)
OKLCHoklch(0.620 0.236 307.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad4ef1 on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#ad4ef1 on black: 5.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green30.6%
Blue94.5%

CMYK percentages

Cyan28.2%
Magenta67.6%
Yellow0.0%
Key (black)5.5%

Color previews

#ad4ef1 text on a black background

contrast 5.14:1

Card sample

#ad4ef1 text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad4ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad4ef1 in the Color Lab