Skip to content

#ac9dfd

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

RGB
172, 157, 253
HSL
249°, 96%, 80%
CMYK
32, 38, 0, 1
Luminance
0.3998

Every format

HEX#ac9dfd
RGBrgb(172, 157, 253)
HSLhsl(249, 96%, 80%)
CMYKcmyk(32%, 38%, 0%, 1%)
LABlab(69.5 26.5 -45.9)
LCHlch(69.5 53.0 300.0)
OKLCHoklch(0.747 0.137 289.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac9dfd on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#ac9dfd on black: 9.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green61.6%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ac9dfd text on a black background

contrast 9.00:1

Card sample

#ac9dfd text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac9dfd in the Color Lab