Skip to content

#ac8fdb

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

RGB
172, 143, 219
HSL
263°, 51%, 71%
CMYK
22, 35, 0, 14
Luminance
0.3353

Every format

HEX#ac8fdb
RGBrgb(172, 143, 219)
HSLhsl(263, 51%, 71%)
CMYKcmyk(22%, 35%, 0%, 14%)
LABlab(64.6 26.1 -34.8)
LCHlch(64.6 43.5 306.9)
OKLCHoklch(0.705 0.113 301.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8fdb on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#ac8fdb on black: 7.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green56.1%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta34.7%
Yellow0.0%
Key (black)14.1%

Color previews

#ac8fdb text on a black background

contrast 7.71:1

Card sample

#ac8fdb text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8fdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8fdb in the Color Lab