Skip to content

#9b80ff

a light, electric blue · warm · closest name: slateblue

RGB
155, 128, 255
HSL
253°, 100%, 75%
CMYK
39, 50, 0, 0
Luminance
0.2963

Every format

HEX#9b80ff
RGBrgb(155, 128, 255)
HSLhsl(253, 100%, 75%)
CMYKcmyk(39%, 50%, 0%, 0%)
LABlab(61.3 39.1 -59.9)
LCHlch(61.3 71.6 303.1)
OKLCHoklch(0.683 0.181 290.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b80ff on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#9b80ff on black: 6.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green50.2%
Blue100.0%

CMYK percentages

Cyan39.2%
Magenta49.8%
Yellow0.0%
Key (black)0.0%

Color previews

#9b80ff text on a black background

contrast 6.93:1

Card sample

#9b80ff text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b80ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b80ff in the Color Lab