Skip to content

#ac92fd

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

RGB
172, 146, 253
HSL
255°, 96%, 78%
CMYK
32, 42, 0, 1
Luminance
0.3642

Every format

HEX#ac92fd
RGBrgb(172, 146, 253)
HSLhsl(255, 96%, 78%)
CMYKcmyk(32%, 42%, 0%, 1%)
LABlab(66.8 32.7 -50.0)
LCHlch(66.8 59.7 303.2)
OKLCHoklch(0.727 0.153 293.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac92fd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#ac92fd on black: 8.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green57.3%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ac92fd text on a black background

contrast 8.28:1

Card sample

#ac92fd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac92fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac92fd in the Color Lab