Skip to content

#a92fdf

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

RGB
169, 47, 223
HSL
282°, 73%, 53%
CMYK
24, 79, 0, 13
Luminance
0.1580

Every format

HEX#a92fdf
RGBrgb(169, 47, 223)
HSLhsl(282, 73%, 53%)
CMYKcmyk(24%, 79%, 0%, 13%)
LABlab(46.7 72.8 -65.5)
LCHlch(46.7 97.9 318.0)
OKLCHoklch(0.574 0.251 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a92fdf on white: 5.05:1
AA ✓ pass · AA-large · AAA
Aa
#a92fdf on black: 4.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green18.4%
Blue87.5%

CMYK percentages

Cyan24.2%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#a92fdf text on a black background

contrast 4.16:1

Card sample

#a92fdf text on a white background

contrast 5.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a92fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a92fdf in the Color Lab