Skip to content

#ac64df

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

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

Every format

HEX#ac64df
RGBrgb(172, 100, 223)
HSLhsl(275, 66%, 63%)
CMYKcmyk(23%, 55%, 0%, 13%)
LABlab(55.3 50.7 -51.7)
LCHlch(55.3 72.4 314.5)
OKLCHoklch(0.636 0.187 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac64df on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#ac64df on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan22.9%
Magenta55.2%
Yellow0.0%
Key (black)12.5%

Color previews

#ac64df text on a black background

contrast 5.64:1

Card sample

#ac64df text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac64df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac64df in the Color Lab