Skip to content

#ac64ff

a light, electric violet · warm · closest name: slateblue

RGB
172, 100, 255
HSL
268°, 100%, 70%
CMYK
33, 61, 0, 0
Luminance
0.2510

Every format

HEX#ac64ff
RGBrgb(172, 100, 255)
HSLhsl(268, 100%, 70%)
CMYKcmyk(33%, 61%, 0%, 0%)
LABlab(57.2 58.1 -66.5)
LCHlch(57.2 88.3 311.1)
OKLCHoklch(0.656 0.222 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac64ff on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#ac64ff on black: 6.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green39.2%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta60.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ac64ff text on a black background

contrast 6.02:1

Card sample

#ac64ff text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac64ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac64ff in the Color Lab