Skip to content

#a976df

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

RGB
169, 118, 223
HSL
269°, 62%, 67%
CMYK
24, 47, 0, 13
Luminance
0.2672

Every format

HEX#a976df
RGBrgb(169, 118, 223)
HSLhsl(269, 62%, 67%)
CMYKcmyk(24%, 47%, 0%, 13%)
LABlab(58.7 40.3 -46.3)
LCHlch(58.7 61.3 311.0)
OKLCHoklch(0.661 0.158 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a976df on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#a976df on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green46.3%
Blue87.5%

CMYK percentages

Cyan24.2%
Magenta47.1%
Yellow0.0%
Key (black)12.5%

Color previews

#a976df text on a black background

contrast 6.34:1

Card sample

#a976df text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a976df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a976df in the Color Lab