Skip to content

#ac80cf

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

RGB
172, 128, 207
HSL
273°, 45%, 66%
CMYK
17, 38, 0, 19
Luminance
0.2871

Every format

HEX#ac80cf
RGBrgb(172, 128, 207)
HSLhsl(273, 45%, 66%)
CMYKcmyk(17%, 38%, 0%, 19%)
LABlab(60.5 31.9 -34.4)
LCHlch(60.5 46.9 312.8)
OKLCHoklch(0.672 0.122 309.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac80cf on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#ac80cf on black: 6.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green50.2%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta38.2%
Yellow0.0%
Key (black)18.8%

Color previews

#ac80cf text on a black background

contrast 6.74:1

Card sample

#ac80cf text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac80cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac80cf in the Color Lab