Skip to content

#aa4bdf

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

RGB
170, 75, 223
HSL
279°, 70%, 58%
CMYK
24, 66, 0, 13
Luminance
0.1891

Every format

HEX#aa4bdf
RGBrgb(170, 75, 223)
HSLhsl(279, 70%, 58%)
CMYKcmyk(24%, 66%, 0%, 13%)
LABlab(50.6 62.3 -59.2)
LCHlch(50.6 86.0 316.5)
OKLCHoklch(0.601 0.222 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa4bdf on white: 4.39:1
AA ✗ fail · AA-large · AAA
Aa
#aa4bdf on black: 4.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green29.4%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta66.4%
Yellow0.0%
Key (black)12.5%

Color previews

#aa4bdf text on a black background

contrast 4.78:1

Card sample

#aa4bdf text on a white background

contrast 4.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa4bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa4bdf in the Color Lab