Skip to content

#aa50df

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

RGB
170, 80, 223
HSL
278°, 69%, 59%
CMYK
24, 64, 0, 13
Luminance
0.1961

Every format

HEX#aa50df
RGBrgb(170, 80, 223)
HSLhsl(278, 69%, 59%)
CMYKcmyk(24%, 64%, 0%, 13%)
LABlab(51.4 60.1 -57.9)
LCHlch(51.4 83.5 316.0)
OKLCHoklch(0.607 0.215 310.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa50df on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#aa50df on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green31.4%
Blue87.5%

CMYK percentages

Cyan23.8%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#aa50df text on a black background

contrast 4.92:1

Card sample

#aa50df text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa50df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa50df in the Color Lab