Skip to content

#ac6ade

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

RGB
172, 106, 222
HSL
274°, 64%, 64%
CMYK
23, 52, 0, 13
Luminance
0.2435

Every format

HEX#ac6ade
RGBrgb(172, 106, 222)
HSLhsl(274, 64%, 64%)
CMYKcmyk(23%, 52%, 0%, 13%)
LABlab(56.4 47.3 -49.3)
LCHlch(56.4 68.3 313.8)
OKLCHoklch(0.644 0.177 308.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac6ade on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#ac6ade on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green41.6%
Blue87.1%

CMYK percentages

Cyan22.5%
Magenta52.3%
Yellow0.0%
Key (black)12.9%

Color previews

#ac6ade text on a black background

contrast 5.87:1

Card sample

#ac6ade text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 106, 222, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 106, 222, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac6ade;
background: linear-gradient(135deg, #ac6ade, #DE6AC3);

Monochromatic scale

Palettes built from #ac6ade

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac6ade in the Color Lab