Skip to content

#ac4ddf

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

RGB
172, 77, 223
HSL
279°, 70%, 59%
CMYK
23, 66, 0, 13
Luminance
0.1941

Every format

HEX#ac4ddf
RGBrgb(172, 77, 223)
HSLhsl(279, 70%, 59%)
CMYKcmyk(23%, 66%, 0%, 13%)
LABlab(51.2 61.9 -58.3)
LCHlch(51.2 85.0 316.7)
OKLCHoklch(0.606 0.220 311.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4ddf on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#ac4ddf on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green30.2%
Blue87.5%

CMYK percentages

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

Color previews

#ac4ddf text on a black background

contrast 4.88:1

Card sample

#ac4ddf text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4ddf in the Color Lab