Skip to content

#ad71f4

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

RGB
173, 113, 244
HSL
268°, 86%, 70%
CMYK
29, 54, 0, 4
Luminance
0.2723

Every format

HEX#ad71f4
RGBrgb(173, 113, 244)
HSLhsl(268, 86%, 70%)
CMYKcmyk(29%, 54%, 0%, 4%)
LABlab(59.2 49.0 -57.2)
LCHlch(59.2 75.3 310.6)
OKLCHoklch(0.669 0.192 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad71f4 on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#ad71f4 on black: 6.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green44.3%
Blue95.7%

CMYK percentages

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

Color previews

#ad71f4 text on a black background

contrast 6.45:1

Card sample

#ad71f4 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad71f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad71f4 in the Color Lab