Skip to content

#aa55cc

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

RGB
170, 85, 204
HSL
283°, 54%, 57%
CMYK
17, 58, 0, 20
Luminance
0.1940

Every format

HEX#aa55cc
RGBrgb(170, 85, 204)
HSLhsl(283, 54%, 57%)
CMYKcmyk(17%, 58%, 0%, 20%)
LABlab(51.2 53.7 -47.5)
LCHlch(51.2 71.7 318.5)
OKLCHoklch(0.602 0.189 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa55cc on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#aa55cc on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green33.3%
Blue80.0%

CMYK percentages

Cyan16.7%
Magenta58.3%
Yellow0.0%
Key (black)20.0%

Color previews

#aa55cc text on a black background

contrast 4.88:1

Card sample

#aa55cc text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa55cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa55cc in the Color Lab