Skip to content

#ab64df

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

RGB
171, 100, 223
HSL
275°, 66%, 63%
CMYK
23, 55, 0, 13
Luminance
0.2310

Every format

HEX#ab64df
RGBrgb(171, 100, 223)
HSLhsl(275, 66%, 63%)
CMYKcmyk(23%, 55%, 0%, 13%)
LABlab(55.2 50.5 -51.9)
LCHlch(55.2 72.4 314.2)
OKLCHoklch(0.635 0.187 308.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab64df on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#ab64df on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green39.2%
Blue87.5%

CMYK percentages

Cyan23.3%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#ab64df text on a black background

contrast 5.62:1

Card sample

#ab64df text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab64df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab64df in the Color Lab