Skip to content

#8050df

a balanced, vivid violet · warm · closest name: slateblue

RGB
128, 80, 223
HSL
260°, 69%, 59%
CMYK
43, 64, 0, 13
Luminance
0.1565

Every format

HEX#8050df
RGBrgb(128, 80, 223)
HSLhsl(260, 69%, 59%)
CMYKcmyk(43%, 64%, 0%, 13%)
LABlab(46.5 51.3 -66.0)
LCHlch(46.5 83.6 307.8)
OKLCHoklch(0.561 0.207 294.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8050df on white: 5.08:1
AA ✓ pass · AA-large · AAA
Aa
#8050df on black: 4.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green31.4%
Blue87.5%

CMYK percentages

Cyan42.6%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#8050df text on a black background

contrast 4.13:1

Card sample

#8050df text on a white background

contrast 5.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8050df;
background: linear-gradient(135deg, #8050df, #DF50DF);

Monochromatic scale

Palettes built from #8050df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8050df in the Color Lab