Skip to content

#ac4bdf

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

RGB
172, 75, 223
HSL
279°, 70%, 58%
CMYK
23, 66, 0, 13
Luminance
0.1913

Every format

HEX#ac4bdf
RGBrgb(172, 75, 223)
HSLhsl(279, 70%, 58%)
CMYKcmyk(23%, 66%, 0%, 13%)
LABlab(50.8 62.8 -58.8)
LCHlch(50.8 86.0 316.9)
OKLCHoklch(0.604 0.222 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4bdf on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#ac4bdf on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green29.4%
Blue87.5%

CMYK percentages

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

Color previews

#ac4bdf text on a black background

contrast 4.83:1

Card sample

#ac4bdf text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4bdf in the Color Lab