Skip to content

#ac96df

a light, vivid violet · warm · closest name: plum

RGB
172, 150, 223
HSL
258°, 53%, 73%
CMYK
23, 33, 0, 13
Luminance
0.3591

Every format

HEX#ac96df
RGBrgb(172, 150, 223)
HSLhsl(258, 53%, 73%)
CMYKcmyk(23%, 33%, 0%, 13%)
LABlab(66.5 23.1 -34.1)
LCHlch(66.5 41.2 304.1)
OKLCHoklch(0.720 0.106 297.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac96df on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#ac96df on black: 8.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green58.8%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta32.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ac96df text on a black background

contrast 8.18:1

Card sample

#ac96df text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac96df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac96df in the Color Lab