Skip to content

#8b50df

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

RGB
139, 80, 223
HSL
265°, 69%, 59%
CMYK
38, 64, 0, 13
Luminance
0.1655

Every format

HEX#8b50df
RGBrgb(139, 80, 223)
HSLhsl(265, 69%, 59%)
CMYKcmyk(38%, 64%, 0%, 13%)
LABlab(47.7 53.5 -64.1)
LCHlch(47.7 83.5 309.8)
OKLCHoklch(0.572 0.208 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8b50df on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#8b50df on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green31.4%
Blue87.5%

CMYK percentages

Cyan37.7%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#8b50df text on a black background

contrast 4.31:1

Card sample

#8b50df text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8b50df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8b50df in the Color Lab