Skip to content

#aa97df

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

RGB
170, 151, 223
HSL
256°, 53%, 73%
CMYK
24, 32, 0, 13
Luminance
0.3601

Every format

HEX#aa97df
RGBrgb(170, 151, 223)
HSLhsl(256, 53%, 73%)
CMYKcmyk(24%, 32%, 0%, 13%)
LABlab(66.5 22.0 -34.0)
LCHlch(66.5 40.5 302.8)
OKLCHoklch(0.720 0.105 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa97df on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#aa97df on black: 8.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green59.2%
Blue87.5%

CMYK percentages

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

Color previews

#aa97df text on a black background

contrast 8.20:1

Card sample

#aa97df text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa97df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa97df in the Color Lab