Skip to content

#a80dfd

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

RGB
168, 13, 253
HSL
279°, 98%, 52%
CMYK
34, 95, 0, 1
Luminance
0.1570

Every format

HEX#a80dfd
RGBrgb(168, 13, 253)
HSLhsl(279, 98%, 52%)
CMYKcmyk(34%, 95%, 0%, 1%)
LABlab(46.6 85.2 -82.6)
LCHlch(46.6 118.7 315.9)
OKLCHoklch(0.580 0.294 306.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a80dfd on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#a80dfd on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green5.1%
Blue99.2%

CMYK percentages

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

Color previews

#a80dfd text on a black background

contrast 4.14:1

Card sample

#a80dfd text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a80dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a80dfd in the Color Lab