Skip to content

#aa71df

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

RGB
170, 113, 223
HSL
271°, 63%, 66%
CMYK
24, 49, 0, 13
Luminance
0.2568

Every format

HEX#aa71df
RGBrgb(170, 113, 223)
HSLhsl(271, 63%, 66%)
CMYKcmyk(24%, 49%, 0%, 13%)
LABlab(57.7 43.3 -47.8)
LCHlch(57.7 64.5 312.1)
OKLCHoklch(0.654 0.166 306.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa71df on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#aa71df on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green44.3%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta49.3%
Yellow0.0%
Key (black)12.5%

Color previews

#aa71df text on a black background

contrast 6.14:1

Card sample

#aa71df text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa71df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa71df in the Color Lab