Skip to content

#ac59fd

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

RGB
172, 89, 253
HSL
270°, 98%, 67%
CMYK
32, 65, 0, 1
Luminance
0.2301

Every format

HEX#ac59fd
RGBrgb(172, 89, 253)
HSLhsl(270, 98%, 67%)
CMYKcmyk(32%, 65%, 0%, 1%)
LABlab(55.1 63.0 -68.8)
LCHlch(55.1 93.3 312.5)
OKLCHoklch(0.640 0.235 303.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac59fd on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#ac59fd on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green34.9%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta64.8%
Yellow0.0%
Key (black)0.8%

Color previews

#ac59fd text on a black background

contrast 5.60:1

Card sample

#ac59fd text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac59fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac59fd in the Color Lab