Skip to content

#a96fdf

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

RGB
169, 111, 223
HSL
271°, 64%, 66%
CMYK
24, 50, 0, 13
Luminance
0.2513

Every format

HEX#a96fdf
RGBrgb(169, 111, 223)
HSLhsl(271, 64%, 66%)
CMYKcmyk(24%, 50%, 0%, 13%)
LABlab(57.2 44.1 -48.7)
LCHlch(57.2 65.7 312.2)
OKLCHoklch(0.649 0.169 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a96fdf on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#a96fdf on black: 6.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green43.5%
Blue87.5%

CMYK percentages

Cyan24.2%
Magenta50.2%
Yellow0.0%
Key (black)12.5%

Color previews

#a96fdf text on a black background

contrast 6.03:1

Card sample

#a96fdf text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a96fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a96fdf in the Color Lab