Skip to content

#a80df0

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

RGB
168, 13, 240
HSL
281°, 90%, 50%
CMYK
30, 95, 0, 6
Luminance
0.1490

Every format

HEX#a80df0
RGBrgb(168, 13, 240)
HSLhsl(281, 90%, 50%)
CMYKcmyk(30%, 95%, 0%, 6%)
LABlab(45.5 82.8 -77.1)
LCHlch(45.5 113.2 317.0)
OKLCHoklch(0.569 0.284 309.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a80df0 on white: 5.28:1
AA ✓ pass · AA-large · AAA
Aa
#a80df0 on black: 3.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green5.1%
Blue94.1%

CMYK percentages

Cyan30.0%
Magenta94.6%
Yellow0.0%
Key (black)5.9%

Color previews

#a80df0 text on a black background

contrast 3.98:1

Card sample

#a80df0 text on a white background

contrast 5.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a80df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a80df0 in the Color Lab