Skip to content

#5014ff

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

RGB
80, 20, 255
HSL
255°, 100%, 54%
CMYK
69, 92, 0, 0
Luminance
0.0943

Every format

HEX#5014ff
RGBrgb(80, 20, 255)
HSLhsl(255, 100%, 54%)
CMYKcmyk(69%, 92%, 0%, 0%)
LABlab(36.8 77.6 -100.3)
LCHlch(36.8 126.8 307.7)
OKLCHoklch(0.491 0.292 278.1)

Copy-ready code

/* CSS */
color: #5014ff;
background-color: #5014ff;
/* Tailwind (arbitrary) */
class="text-[#5014ff] bg-[#5014ff]"
/* SCSS */
$brand: #5014ff;
/* SwiftUI */
Color(red: 0.314, green: 0.078, blue: 1.000)
/* Android */
Color.parseColor("#5014ff")

Accessibility — WCAG contrast

Aa
#5014ff on white: 7.28:1
AA ✓ pass · AA-large · AAA
Aa
#5014ff on black: 2.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.4%
Green7.8%
Blue100.0%

CMYK percentages

Cyan68.6%
Magenta92.2%
Yellow0.0%
Key (black)0.0%

Color previews

#5014ff text on a black background

contrast 2.89:1

Card sample

#5014ff text on a white background

contrast 7.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(80, 20, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(80, 20, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5014ff;
background: linear-gradient(135deg, #5014ff, #ED14FF);

Monochromatic scale

Palettes built from #5014ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5014ff in the Color Lab