Skip to content

#ac60eb

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

RGB
172, 96, 235
HSL
273°, 78%, 65%
CMYK
27, 59, 0, 8
Luminance
0.2313

Every format

HEX#ac60eb
RGBrgb(172, 96, 235)
HSLhsl(273, 78%, 65%)
CMYKcmyk(27%, 59%, 0%, 8%)
LABlab(55.2 55.5 -58.5)
LCHlch(55.2 80.6 313.4)
OKLCHoklch(0.638 0.206 306.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac60eb on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#ac60eb on black: 5.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green37.6%
Blue92.2%

CMYK percentages

Cyan26.8%
Magenta59.1%
Yellow0.0%
Key (black)7.8%

Color previews

#ac60eb text on a black background

contrast 5.63:1

Card sample

#ac60eb text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac60eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac60eb in the Color Lab