Skip to content

#a960df

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

RGB
169, 96, 223
HSL
275°, 67%, 63%
CMYK
24, 57, 0, 13
Luminance
0.2213

Every format

HEX#a960df
RGBrgb(169, 96, 223)
HSLhsl(275, 67%, 63%)
CMYKcmyk(24%, 57%, 0%, 13%)
LABlab(54.2 52.0 -53.5)
LCHlch(54.2 74.6 314.2)
OKLCHoklch(0.627 0.192 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a960df on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#a960df on black: 5.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green37.6%
Blue87.5%

CMYK percentages

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

Color previews

#a960df text on a black background

contrast 5.43:1

Card sample

#a960df text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a960df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a960df in the Color Lab