Skip to content

#aa89df

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

RGB
170, 137, 223
HSL
263°, 57%, 71%
CMYK
24, 39, 0, 13
Luminance
0.3177

Every format

HEX#aa89df
RGBrgb(170, 137, 223)
HSLhsl(263, 57%, 71%)
CMYKcmyk(24%, 39%, 0%, 13%)
LABlab(63.1 29.9 -39.3)
LCHlch(63.1 49.4 307.3)
OKLCHoklch(0.694 0.127 300.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa89df on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#aa89df on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green53.7%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta38.6%
Yellow0.0%
Key (black)12.5%

Color previews

#aa89df text on a black background

contrast 7.35:1

Card sample

#aa89df text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa89df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa89df in the Color Lab