Skip to content

#aa5dbb

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

RGB
170, 93, 187
HSL
289°, 41%, 55%
CMYK
9, 50, 0, 27
Luminance
0.1996

Every format

HEX#aa5dbb
RGBrgb(170, 93, 187)
HSLhsl(289, 41%, 55%)
CMYKcmyk(9%, 50%, 0%, 27%)
LABlab(51.8 46.1 -36.7)
LCHlch(51.8 59.0 321.5)
OKLCHoklch(0.604 0.159 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa5dbb on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#aa5dbb on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green36.5%
Blue73.3%

CMYK percentages

Cyan9.1%
Magenta50.3%
Yellow0.0%
Key (black)26.7%

Color previews

#aa5dbb text on a black background

contrast 4.99:1

Card sample

#aa5dbb text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa5dbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa5dbb in the Color Lab