Skip to content

#aa4bc9

a balanced, vivid violet · warm · closest name: orchid

RGB
170, 75, 201
HSL
285°, 54%, 54%
CMYK
15, 63, 0, 21
Luminance
0.1780

Every format

HEX#aa4bc9
RGBrgb(170, 75, 201)
HSLhsl(285, 54%, 54%)
CMYKcmyk(15%, 63%, 0%, 21%)
LABlab(49.3 57.8 -48.8)
LCHlch(49.3 75.7 319.8)
OKLCHoklch(0.587 0.200 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa4bc9 on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#aa4bc9 on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green29.4%
Blue78.8%

CMYK percentages

Cyan15.4%
Magenta62.7%
Yellow0.0%
Key (black)21.2%

Color previews

#aa4bc9 text on a black background

contrast 4.56:1

Card sample

#aa4bc9 text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa4bc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa4bc9 in the Color Lab