Skip to content

#aa6df4

a light, electric violet · warm · closest name: slateblue

RGB
170, 109, 244
HSL
267°, 86%, 69%
CMYK
30, 55, 0, 4
Luminance
0.2601

Every format

HEX#aa6df4
RGBrgb(170, 109, 244)
HSLhsl(267, 86%, 69%)
CMYKcmyk(30%, 55%, 0%, 4%)
LABlab(58.0 50.4 -59.0)
LCHlch(58.0 77.6 310.5)
OKLCHoklch(0.660 0.197 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa6df4 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#aa6df4 on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green42.7%
Blue95.7%

CMYK percentages

Cyan30.3%
Magenta55.3%
Yellow0.0%
Key (black)4.3%

Color previews

#aa6df4 text on a black background

contrast 6.20:1

Card sample

#aa6df4 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa6df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa6df4 in the Color Lab