Skip to content

#a95fdf

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

RGB
169, 95, 223
HSL
275°, 67%, 62%
CMYK
24, 57, 0, 13
Luminance
0.2195

Every format

HEX#a95fdf
RGBrgb(169, 95, 223)
HSLhsl(275, 67%, 62%)
CMYKcmyk(24%, 57%, 0%, 13%)
LABlab(54.0 52.5 -53.8)
LCHlch(54.0 75.2 314.3)
OKLCHoklch(0.625 0.194 308.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a95fdf on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#a95fdf on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#a95fdf text on a black background

contrast 5.39:1

Card sample

#a95fdf text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a95fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a95fdf in the Color Lab