Skip to content

#a930df

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

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

Every format

HEX#a930df
RGBrgb(169, 48, 223)
HSLhsl(282, 73%, 53%)
CMYKcmyk(24%, 79%, 0%, 13%)
LABlab(46.8 72.5 -65.3)
LCHlch(46.8 97.6 318.0)
OKLCHoklch(0.574 0.251 312.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a930df on white: 5.03:1
AA ✓ pass · AA-large · AAA
Aa
#a930df on black: 4.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green18.8%
Blue87.5%

CMYK percentages

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

Color previews

#a930df text on a black background

contrast 4.18:1

Card sample

#a930df text on a white background

contrast 5.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a930df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a930df in the Color Lab