Skip to content

#ac9dfb

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

RGB
172, 157, 251
HSL
250°, 92%, 80%
CMYK
32, 38, 0, 2
Luminance
0.3985

Every format

HEX#ac9dfb
RGBrgb(172, 157, 251)
HSLhsl(250, 92%, 80%)
CMYKcmyk(32%, 38%, 0%, 2%)
LABlab(69.4 26.0 -44.9)
LCHlch(69.4 51.9 300.0)
OKLCHoklch(0.746 0.134 290.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9dfb on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#ac9dfb on black: 8.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green61.6%
Blue98.4%

CMYK percentages

Cyan31.5%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#ac9dfb text on a black background

contrast 8.97:1

Card sample

#ac9dfb text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9dfb in the Color Lab