Skip to content

#aa4ddf

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

RGB
170, 77, 223
HSL
278°, 70%, 59%
CMYK
24, 66, 0, 13
Luminance
0.1918

Every format

HEX#aa4ddf
RGBrgb(170, 77, 223)
HSLhsl(278, 70%, 59%)
CMYKcmyk(24%, 66%, 0%, 13%)
LABlab(50.9 61.5 -58.7)
LCHlch(50.9 85.0 316.3)
OKLCHoklch(0.604 0.219 310.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa4ddf on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#aa4ddf on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green30.2%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta65.5%
Yellow0.0%
Key (black)12.5%

Color previews

#aa4ddf text on a black background

contrast 4.84:1

Card sample

#aa4ddf text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa4ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa4ddf in the Color Lab