Skip to content

#ac58df

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

RGB
172, 88, 223
HSL
277°, 68%, 61%
CMYK
23, 61, 0, 13
Luminance
0.2108

Every format

HEX#ac58df
RGBrgb(172, 88, 223)
HSLhsl(277, 68%, 61%)
CMYKcmyk(23%, 61%, 0%, 13%)
LABlab(53.0 56.7 -55.3)
LCHlch(53.0 79.2 315.7)
OKLCHoklch(0.620 0.205 310.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac58df on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#ac58df on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ac58df text on a black background

contrast 5.22:1

Card sample

#ac58df text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac58df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac58df in the Color Lab