Skip to content

#a962df

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

RGB
169, 98, 223
HSL
274°, 66%, 63%
CMYK
24, 56, 0, 13
Luminance
0.2250

Every format

HEX#a962df
RGBrgb(169, 98, 223)
HSLhsl(274, 66%, 63%)
CMYKcmyk(24%, 56%, 0%, 13%)
LABlab(54.5 51.0 -52.9)
LCHlch(54.5 73.5 314.0)
OKLCHoklch(0.630 0.189 308.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a962df on white: 3.82:1
AA ✗ fail · AA-large · AAA
Aa
#a962df on black: 5.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green38.4%
Blue87.5%

CMYK percentages

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

Color previews

#a962df text on a black background

contrast 5.50:1

Card sample

#a962df text on a white background

contrast 3.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a962df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a962df in the Color Lab