Skip to content

#aa4fdf

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

RGB
170, 79, 223
HSL
278°, 69%, 59%
CMYK
24, 65, 0, 13
Luminance
0.1947

Every format

HEX#aa4fdf
RGBrgb(170, 79, 223)
HSLhsl(278, 69%, 59%)
CMYKcmyk(24%, 65%, 0%, 13%)
LABlab(51.2 60.5 -58.2)
LCHlch(51.2 84.0 316.1)
OKLCHoklch(0.606 0.216 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa4fdf on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#aa4fdf on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green31.0%
Blue87.5%

CMYK percentages

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

Color previews

#aa4fdf text on a black background

contrast 4.89:1

Card sample

#aa4fdf text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa4fdf in the Color Lab