Skip to content

#a50df3

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

RGB
165, 13, 243
HSL
280°, 91%, 50%
CMYK
32, 95, 0, 5
Luminance
0.1476

Every format

HEX#a50df3
RGBrgb(165, 13, 243)
HSLhsl(280, 91%, 50%)
CMYKcmyk(32%, 95%, 0%, 5%)
LABlab(45.3 83.0 -79.1)
LCHlch(45.3 114.7 316.4)
OKLCHoklch(0.567 0.285 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a50df3 on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#a50df3 on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green5.1%
Blue95.3%

CMYK percentages

Cyan32.1%
Magenta94.7%
Yellow0.0%
Key (black)4.7%

Color previews

#a50df3 text on a black background

contrast 3.95:1

Card sample

#a50df3 text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a50df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a50df3 in the Color Lab