Skip to content

#a950df

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

RGB
169, 80, 223
HSL
277°, 69%, 59%
CMYK
24, 64, 0, 13
Luminance
0.1950

Every format

HEX#a950df
RGBrgb(169, 80, 223)
HSLhsl(277, 69%, 59%)
CMYKcmyk(24%, 64%, 0%, 13%)
LABlab(51.3 59.9 -58.1)
LCHlch(51.3 83.5 315.8)
OKLCHoklch(0.606 0.215 310.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a950df on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#a950df on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green31.4%
Blue87.5%

CMYK percentages

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

Color previews

#a950df text on a black background

contrast 4.90:1

Card sample

#a950df text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a950df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a950df in the Color Lab