Skip to content

#aa2acf

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

RGB
170, 42, 207
HSL
287°, 66%, 49%
CMYK
18, 80, 0, 19
Luminance
0.1471

Every format

HEX#aa2acf
RGBrgb(170, 42, 207)
HSLhsl(287, 66%, 49%)
CMYKcmyk(18%, 80%, 0%, 19%)
LABlab(45.2 71.4 -58.7)
LCHlch(45.2 92.4 320.6)
OKLCHoklch(0.560 0.243 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa2acf on white: 5.33:1
AA ✓ pass · AA-large · AAA
Aa
#aa2acf on black: 3.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green16.5%
Blue81.2%

CMYK percentages

Cyan17.9%
Magenta79.7%
Yellow0.0%
Key (black)18.8%

Color previews

#aa2acf text on a black background

contrast 3.94:1

Card sample

#aa2acf text on a white background

contrast 5.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa2acf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa2acf in the Color Lab