Skip to content

#ab80cf

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

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

Every format

HEX#ab80cf
RGBrgb(171, 128, 207)
HSLhsl(273, 45%, 66%)
CMYKcmyk(17%, 38%, 0%, 19%)
LABlab(60.4 31.6 -34.6)
LCHlch(60.4 46.8 312.4)
OKLCHoklch(0.671 0.122 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green50.2%
Blue81.2%

CMYK percentages

Cyan17.4%
Magenta38.2%
Yellow0.0%
Key (black)18.8%

Color previews

#ab80cf text on a black background

contrast 6.72:1

Card sample

#ab80cf text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab80cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab80cf in the Color Lab