Skip to content

#ac8bc2

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

RGB
172, 139, 194
HSL
276°, 31%, 65%
CMYK
11, 28, 0, 24
Luminance
0.3113

Every format

HEX#ac8bc2
RGBrgb(172, 139, 194)
HSLhsl(276, 31%, 65%)
CMYKcmyk(11%, 28%, 0%, 24%)
LABlab(62.6 22.8 -23.9)
LCHlch(62.6 33.0 313.7)
OKLCHoklch(0.687 0.087 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8bc2 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#ac8bc2 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green54.5%
Blue76.1%

CMYK percentages

Cyan11.3%
Magenta28.4%
Yellow0.0%
Key (black)23.9%

Color previews

#ac8bc2 text on a black background

contrast 7.23:1

Card sample

#ac8bc2 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8bc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8bc2 in the Color Lab