Skip to content

#aa6cdf

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

RGB
170, 108, 223
HSL
272°, 64%, 65%
CMYK
24, 52, 0, 13
Luminance
0.2460

Every format

HEX#aa6cdf
RGBrgb(170, 108, 223)
HSLhsl(272, 64%, 65%)
CMYKcmyk(24%, 52%, 0%, 13%)
LABlab(56.7 46.0 -49.5)
LCHlch(56.7 67.5 312.9)
OKLCHoklch(0.646 0.174 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa6cdf on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#aa6cdf on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green42.4%
Blue87.5%

CMYK percentages

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

Color previews

#aa6cdf text on a black background

contrast 5.92:1

Card sample

#aa6cdf text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa6cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa6cdf in the Color Lab