Skip to content

#aa33cc

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

RGB
170, 51, 204
HSL
287°, 60%, 50%
CMYK
17, 75, 0, 20
Luminance
0.1527

Every format

HEX#aa33cc
RGBrgb(170, 51, 204)
HSLhsl(287, 60%, 50%)
CMYKcmyk(17%, 75%, 0%, 20%)
LABlab(46.0 68.0 -55.7)
LCHlch(46.0 87.9 320.7)
OKLCHoklch(0.565 0.232 317.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa33cc on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#aa33cc on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green20.0%
Blue80.0%

CMYK percentages

Cyan16.7%
Magenta75.0%
Yellow0.0%
Key (black)20.0%

Color previews

#aa33cc text on a black background

contrast 4.05:1

Card sample

#aa33cc text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa33cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa33cc in the Color Lab