Skip to content

#aa7bc9

a balanced, soft violet · warm · closest name: plum

RGB
170, 123, 201
HSL
276°, 42%, 64%
CMYK
15, 39, 0, 21
Luminance
0.2693

Every format

HEX#aa7bc9
RGBrgb(170, 123, 201)
HSLhsl(276, 42%, 64%)
CMYKcmyk(15%, 39%, 0%, 21%)
LABlab(58.9 32.8 -33.6)
LCHlch(58.9 46.9 314.3)
OKLCHoklch(0.659 0.123 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red66.7%
Green48.2%
Blue78.8%

CMYK percentages

Cyan15.4%
Magenta38.8%
Yellow0.0%
Key (black)21.2%

Color previews

#aa7bc9 text on a black background

contrast 6.39:1

Card sample

#aa7bc9 text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa7bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa7bc9 in the Color Lab