Skip to content

#aa71f4

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

RGB
170, 113, 244
HSL
266°, 86%, 70%
CMYK
30, 54, 0, 4
Luminance
0.2689

Every format

HEX#aa71f4
RGBrgb(170, 113, 244)
HSLhsl(266, 86%, 70%)
CMYKcmyk(30%, 54%, 0%, 4%)
LABlab(58.9 48.2 -57.7)
LCHlch(58.9 75.2 309.9)
OKLCHoklch(0.666 0.191 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa71f4 on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#aa71f4 on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green44.3%
Blue95.7%

CMYK percentages

Cyan30.3%
Magenta53.7%
Yellow0.0%
Key (black)4.3%

Color previews

#aa71f4 text on a black background

contrast 6.38:1

Card sample

#aa71f4 text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa71f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa71f4 in the Color Lab