Skip to content

#ac80c2

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

RGB
172, 128, 194
HSL
280°, 35%, 63%
CMYK
11, 34, 0, 24
Luminance
0.2810

Every format

HEX#ac80c2
RGBrgb(172, 128, 194)
HSLhsl(280, 35%, 63%)
CMYKcmyk(11%, 34%, 0%, 24%)
LABlab(60.0 29.1 -27.9)
LCHlch(60.0 40.3 316.1)
OKLCHoklch(0.667 0.107 314.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac80c2 on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#ac80c2 on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green50.2%
Blue76.1%

CMYK percentages

Cyan11.3%
Magenta34.0%
Yellow0.0%
Key (black)23.9%

Color previews

#ac80c2 text on a black background

contrast 6.62:1

Card sample

#ac80c2 text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac80c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac80c2 in the Color Lab