Skip to content

#ac59df

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

RGB
172, 89, 223
HSL
277°, 68%, 61%
CMYK
23, 60, 0, 13
Luminance
0.2124

Every format

HEX#ac59df
RGBrgb(172, 89, 223)
HSLhsl(277, 68%, 61%)
CMYKcmyk(23%, 60%, 0%, 13%)
LABlab(53.2 56.3 -55.0)
LCHlch(53.2 78.7 315.6)
OKLCHoklch(0.621 0.203 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac59df on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#ac59df on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green34.9%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta60.1%
Yellow0.0%
Key (black)12.5%

Color previews

#ac59df text on a black background

contrast 5.25:1

Card sample

#ac59df text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac59df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac59df in the Color Lab