Skip to content

#a900fd

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

RGB
169, 0, 253
HSL
280°, 100%, 50%
CMYK
33, 100, 0, 1
Luminance
0.1553

Every format

HEX#a900fd
RGBrgb(169, 0, 253)
HSLhsl(280, 100%, 50%)
CMYKcmyk(33%, 100%, 0%, 1%)
LABlab(46.4 86.5 -83.0)
LCHlch(46.4 119.9 316.2)
OKLCHoklch(0.578 0.297 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a900fd on white: 5.12:1
AA ✓ pass · AA-large · AAA
Aa
#a900fd on black: 4.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.3%
Green0.0%
Blue99.2%

CMYK percentages

Cyan33.2%
Magenta100.0%
Yellow0.0%
Key (black)0.8%

Color previews

#a900fd text on a black background

contrast 4.11:1

Card sample

#a900fd text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a900fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a900fd in the Color Lab