Skip to content

#9b80df

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

RGB
155, 128, 223
HSL
257°, 60%, 69%
CMYK
31, 43, 0, 13
Luminance
0.2773

Every format

HEX#9b80df
RGBrgb(155, 128, 223)
HSLhsl(257, 60%, 69%)
CMYKcmyk(31%, 43%, 0%, 13%)
LABlab(59.6 30.8 -44.9)
LCHlch(59.6 54.4 304.4)
OKLCHoklch(0.664 0.139 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b80df on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#9b80df on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green50.2%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9b80df text on a black background

contrast 6.55:1

Card sample

#9b80df text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b80df in the Color Lab