Skip to content

#a982df

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

RGB
169, 130, 223
HSL
265°, 59%, 69%
CMYK
24, 42, 0, 13
Luminance
0.2973

Every format

HEX#a982df
RGBrgb(169, 130, 223)
HSLhsl(265, 59%, 69%)
CMYKcmyk(24%, 42%, 0%, 13%)
LABlab(61.4 33.5 -42.0)
LCHlch(61.4 53.8 308.6)
OKLCHoklch(0.681 0.139 302.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a982df on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#a982df on black: 6.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green51.0%
Blue87.5%

CMYK percentages

Cyan24.2%
Magenta41.7%
Yellow0.0%
Key (black)12.5%

Color previews

#a982df text on a black background

contrast 6.95:1

Card sample

#a982df text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a982df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a982df in the Color Lab