Skip to content

#ac39df

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

RGB
172, 57, 223
HSL
282°, 72%, 55%
CMYK
23, 74, 0, 13
Luminance
0.1702

Every format

HEX#ac39df
RGBrgb(172, 57, 223)
HSLhsl(282, 72%, 55%)
CMYKcmyk(23%, 74%, 0%, 13%)
LABlab(48.3 70.0 -62.9)
LCHlch(48.3 94.1 318.0)
OKLCHoklch(0.586 0.243 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac39df on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#ac39df on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green22.4%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta74.4%
Yellow0.0%
Key (black)12.5%

Color previews

#ac39df text on a black background

contrast 4.40:1

Card sample

#ac39df text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac39df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac39df in the Color Lab