Skip to content

#ab8ace

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

RGB
171, 138, 206
HSL
269°, 41%, 68%
CMYK
17, 33, 0, 19
Luminance
0.3129

Every format

HEX#ab8ace
RGBrgb(171, 138, 206)
HSLhsl(269, 41%, 68%)
CMYKcmyk(17%, 33%, 0%, 19%)
LABlab(62.8 25.7 -30.4)
LCHlch(62.8 39.8 310.2)
OKLCHoklch(0.689 0.104 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab8ace on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#ab8ace on black: 7.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green54.1%
Blue80.8%

CMYK percentages

Cyan17.0%
Magenta33.0%
Yellow0.0%
Key (black)19.2%

Color previews

#ab8ace text on a black background

contrast 7.26:1

Card sample

#ab8ace text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab8ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab8ace in the Color Lab