Skip to content

#ab3ace

a balanced, vivid violet · warm · closest name: purple

RGB
171, 58, 206
HSL
286°, 60%, 52%
CMYK
17, 72, 0, 19
Luminance
0.1614

Every format

HEX#ab3ace
RGBrgb(171, 58, 206)
HSLhsl(286, 60%, 52%)
CMYKcmyk(17%, 72%, 0%, 19%)
LABlab(47.2 66.1 -55.0)
LCHlch(47.2 86.0 320.2)
OKLCHoklch(0.574 0.227 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab3ace on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#ab3ace on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green22.7%
Blue80.8%

CMYK percentages

Cyan17.0%
Magenta71.8%
Yellow0.0%
Key (black)19.2%

Color previews

#ab3ace text on a black background

contrast 4.23:1

Card sample

#ab3ace text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab3ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab3ace in the Color Lab