Skip to content

#ac80cd

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

RGB
172, 128, 205
HSL
274°, 44%, 65%
CMYK
16, 38, 0, 20
Luminance
0.2862

Every format

HEX#ac80cd
RGBrgb(172, 128, 205)
HSLhsl(274, 44%, 65%)
CMYKcmyk(16%, 38%, 0%, 20%)
LABlab(60.4 31.4 -33.4)
LCHlch(60.4 45.9 313.2)
OKLCHoklch(0.672 0.120 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac80cd on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#ac80cd on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green50.2%
Blue80.4%

CMYK percentages

Cyan16.1%
Magenta37.6%
Yellow0.0%
Key (black)19.6%

Color previews

#ac80cd text on a black background

contrast 6.72:1

Card sample

#ac80cd text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac80cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac80cd in the Color Lab