Skip to content

#ac89ff

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

RGB
172, 137, 255
HSL
258°, 100%, 77%
CMYK
33, 46, 0, 0
Luminance
0.3388

Every format

HEX#ac89ff
RGBrgb(172, 137, 255)
HSLhsl(258, 100%, 77%)
CMYKcmyk(33%, 46%, 0%, 0%)
LABlab(64.9 38.2 -54.2)
LCHlch(64.9 66.3 305.2)
OKLCHoklch(0.713 0.169 295.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac89ff on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#ac89ff on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green53.7%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta46.3%
Yellow0.0%
Key (black)0.0%

Color previews

#ac89ff text on a black background

contrast 7.78:1

Card sample

#ac89ff text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac89ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac89ff in the Color Lab