Skip to content

#aa7eb3

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

RGB
170, 126, 179
HSL
290°, 26%, 60%
CMYK
5, 30, 0, 30
Luminance
0.2672

Every format

HEX#aa7eb3
RGBrgb(170, 126, 179)
HSLhsl(290, 26%, 60%)
CMYKcmyk(5%, 30%, 0%, 30%)
LABlab(58.7 26.4 -21.4)
LCHlch(58.7 34.0 321.0)
OKLCHoklch(0.654 0.091 320.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa7eb3 on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#aa7eb3 on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green49.4%
Blue70.2%

CMYK percentages

Cyan5.0%
Magenta29.6%
Yellow0.0%
Key (black)29.8%

Color previews

#aa7eb3 text on a black background

contrast 6.34:1

Card sample

#aa7eb3 text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa7eb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa7eb3 in the Color Lab