Skip to content

#a10ce2

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

RGB
161, 12, 226
HSL
282°, 90%, 47%
CMYK
29, 95, 0, 11
Luminance
0.1333

Every format

HEX#a10ce2
RGBrgb(161, 12, 226)
HSLhsl(282, 90%, 47%)
CMYKcmyk(29%, 95%, 0%, 11%)
LABlab(43.3 79.5 -72.9)
LCHlch(43.3 107.8 317.5)
OKLCHoklch(0.548 0.272 310.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a10ce2 on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#a10ce2 on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.1%
Green4.7%
Blue88.6%

CMYK percentages

Cyan28.8%
Magenta94.7%
Yellow0.0%
Key (black)11.4%

Color previews

#a10ce2 text on a black background

contrast 3.67:1

Card sample

#a10ce2 text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(161, 12, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 12, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a10ce2;
background: linear-gradient(135deg, #a10ce2, #E20C94);

Monochromatic scale

Palettes built from #a10ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a10ce2 in the Color Lab