Skip to content

#ac60fd

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

RGB
172, 96, 253
HSL
269°, 98%, 68%
CMYK
32, 62, 0, 1
Luminance
0.2423

Every format

HEX#ac60fd
RGBrgb(172, 96, 253)
HSLhsl(269, 98%, 68%)
CMYKcmyk(32%, 62%, 0%, 1%)
LABlab(56.3 59.6 -66.8)
LCHlch(56.3 89.5 311.7)
OKLCHoklch(0.649 0.226 302.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac60fd on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#ac60fd on black: 5.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green37.6%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta62.1%
Yellow0.0%
Key (black)0.8%

Color previews

#ac60fd text on a black background

contrast 5.85:1

Card sample

#ac60fd text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac60fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac60fd in the Color Lab