Skip to content

#ac99ff

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

RGB
172, 153, 255
HSL
251°, 100%, 80%
CMYK
33, 40, 0, 0
Luminance
0.3877

Every format

HEX#ac99ff
RGBrgb(172, 153, 255)
HSLhsl(251, 100%, 80%)
CMYKcmyk(33%, 40%, 0%, 0%)
LABlab(68.6 29.2 -48.3)
LCHlch(68.6 56.5 301.2)
OKLCHoklch(0.741 0.145 291.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac99ff on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#ac99ff on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green60.0%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta40.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ac99ff text on a black background

contrast 8.75:1

Card sample

#ac99ff text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac99ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac99ff in the Color Lab