Skip to content

#ac96eb

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

RGB
172, 150, 235
HSL
256°, 68%, 76%
CMYK
27, 36, 0, 8
Luminance
0.3658

Every format

HEX#ac96eb
RGBrgb(172, 150, 235)
HSLhsl(256, 68%, 76%)
CMYKcmyk(27%, 36%, 0%, 8%)
LABlab(67.0 26.0 -39.9)
LCHlch(67.0 47.6 303.0)
OKLCHoklch(0.725 0.123 295.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac96eb on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#ac96eb on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green58.8%
Blue92.2%

CMYK percentages

Cyan26.8%
Magenta36.2%
Yellow0.0%
Key (black)7.8%

Color previews

#ac96eb text on a black background

contrast 8.32:1

Card sample

#ac96eb text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac96eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac96eb in the Color Lab