Skip to content

#ac82fd

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

RGB
172, 130, 253
HSL
261°, 97%, 75%
CMYK
32, 49, 0, 1
Luminance
0.3183

Every format

HEX#ac82fd
RGBrgb(172, 130, 253)
HSLhsl(261, 97%, 75%)
CMYKcmyk(32%, 49%, 0%, 1%)
LABlab(63.2 41.6 -55.8)
LCHlch(63.2 69.6 306.7)
OKLCHoklch(0.700 0.177 297.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac82fd on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#ac82fd on black: 7.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green51.0%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta48.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ac82fd text on a black background

contrast 7.37:1

Card sample

#ac82fd text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac82fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac82fd in the Color Lab