Skip to content

#9b50df

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

RGB
155, 80, 223
HSL
272°, 69%, 59%
CMYK
31, 64, 0, 13
Luminance
0.1803

Every format

HEX#9b50df
RGBrgb(155, 80, 223)
HSLhsl(272, 69%, 59%)
CMYKcmyk(31%, 64%, 0%, 13%)
LABlab(49.5 56.8 -61.0)
LCHlch(49.5 83.4 313.0)
OKLCHoklch(0.590 0.211 304.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b50df on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#9b50df on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green31.4%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#9b50df text on a black background

contrast 4.61:1

Card sample

#9b50df text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b50df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b50df in the Color Lab