Skip to content

#aa55aa

a balanced, soft magenta / pink · warm · closest name: orchid

RGB
170, 85, 170
HSL
300°, 33%, 50%
CMYK
0, 50, 0, 33
Luminance
0.1795

Every format

HEX#aa55aa
RGBrgb(170, 85, 170)
HSLhsl(300, 33%, 50%)
CMYKcmyk(0%, 50%, 0%, 33%)
LABlab(49.4 47.0 -30.5)
LCHlch(49.4 56.0 327.0)
OKLCHoklch(0.584 0.155 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa55aa on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#aa55aa on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green33.3%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta50.0%
Yellow0.0%
Key (black)33.3%

Color previews

#aa55aa text on a black background

contrast 4.59:1

Card sample

#aa55aa text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa55aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa55aa in the Color Lab