Skip to content

#ac8bbc

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

RGB
172, 139, 188
HSL
280°, 27%, 64%
CMYK
9, 26, 0, 26
Luminance
0.3087

Every format

HEX#ac8bbc
RGBrgb(172, 139, 188)
HSLhsl(280, 27%, 64%)
CMYKcmyk(9%, 26%, 0%, 26%)
LABlab(62.4 21.6 -20.8)
LCHlch(62.4 30.0 316.0)
OKLCHoklch(0.684 0.080 314.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8bbc on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#ac8bbc on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green54.5%
Blue73.7%

CMYK percentages

Cyan8.5%
Magenta26.1%
Yellow0.0%
Key (black)26.3%

Color previews

#ac8bbc text on a black background

contrast 7.17:1

Card sample

#ac8bbc text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8bbc in the Color Lab