Skip to content

#a92df4

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

RGB
169, 45, 244
HSL
277°, 90%, 57%
CMYK
31, 82, 0, 4
Luminance
0.1684

Every format

HEX#a92df4
RGBrgb(169, 45, 244)
HSLhsl(277, 90%, 57%)
CMYKcmyk(31%, 82%, 0%, 4%)
LABlab(48.1 77.5 -75.2)
LCHlch(48.1 108.0 315.9)
OKLCHoklch(0.588 0.271 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a92df4 on white: 4.81:1
AA ✓ pass · AA-large · AAA
Aa
#a92df4 on black: 4.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green17.6%
Blue95.7%

CMYK percentages

Cyan30.7%
Magenta81.6%
Yellow0.0%
Key (black)4.3%

Color previews

#a92df4 text on a black background

contrast 4.37:1

Card sample

#a92df4 text on a white background

contrast 4.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a92df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a92df4 in the Color Lab