Skip to content

#aa72df

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

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

Every format

HEX#aa72df
RGBrgb(170, 114, 223)
HSLhsl(271, 63%, 66%)
CMYKcmyk(24%, 49%, 0%, 13%)
LABlab(58.0 42.7 -47.5)
LCHlch(58.0 63.9 312.0)
OKLCHoklch(0.655 0.165 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa72df on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#aa72df on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan23.8%
Magenta48.9%
Yellow0.0%
Key (black)12.5%

Color previews

#aa72df text on a black background

contrast 6.18:1

Card sample

#aa72df text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa72df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa72df in the Color Lab