Skip to content

#ac4ddb

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

RGB
172, 77, 219
HSL
280°, 66%, 58%
CMYK
22, 65, 0, 14
Luminance
0.1919

Every format

HEX#ac4ddb
RGBrgb(172, 77, 219)
HSLhsl(280, 66%, 58%)
CMYKcmyk(22%, 65%, 0%, 14%)
LABlab(50.9 61.0 -56.4)
LCHlch(50.9 83.1 317.3)
OKLCHoklch(0.603 0.216 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4ddb on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#ac4ddb on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green30.2%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta64.8%
Yellow0.0%
Key (black)14.1%

Color previews

#ac4ddb text on a black background

contrast 4.84:1

Card sample

#ac4ddb text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4ddb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4ddb in the Color Lab