Skip to content

#ac8fdf

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

RGB
172, 143, 223
HSL
262°, 56%, 72%
CMYK
23, 36, 0, 13
Luminance
0.3374

Every format

HEX#ac8fdf
RGBrgb(172, 143, 223)
HSLhsl(262, 56%, 72%)
CMYKcmyk(23%, 36%, 0%, 13%)
LABlab(64.8 27.1 -36.8)
LCHlch(64.8 45.6 306.4)
OKLCHoklch(0.707 0.118 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac8fdf on white: 2.71:1
AA ✗ fail · AA-large · AAA
Aa
#ac8fdf on black: 7.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green56.1%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ac8fdf text on a black background

contrast 7.75:1

Card sample

#ac8fdf text on a white background

contrast 2.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac8fdf in the Color Lab