Skip to content

#a00df2

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

RGB
160, 13, 242
HSL
279°, 90%, 50%
CMYK
34, 95, 0, 5
Luminance
0.1417

Every format

HEX#a00df2
RGBrgb(160, 13, 242)
HSLhsl(279, 90%, 50%)
CMYKcmyk(34%, 95%, 0%, 5%)
LABlab(44.5 82.2 -80.0)
LCHlch(44.5 114.7 315.8)
OKLCHoklch(0.560 0.284 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a00df2 on white: 5.48:1
AA ✓ pass · AA-large · AAA
Aa
#a00df2 on black: 3.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green5.1%
Blue94.9%

CMYK percentages

Cyan33.9%
Magenta94.6%
Yellow0.0%
Key (black)5.1%

Color previews

#a00df2 text on a black background

contrast 3.83:1

Card sample

#a00df2 text on a white background

contrast 5.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(160, 13, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 13, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a00df2;
background: linear-gradient(135deg, #a00df2, #F20DAB);

Monochromatic scale

Palettes built from #a00df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a00df2 in the Color Lab