Skip to content

#9b8bdf

a light, vivid blue · warm · closest name: plum

RGB
155, 139, 223
HSL
251°, 57%, 71%
CMYK
31, 38, 0, 13
Luminance
0.3076

Every format

HEX#9b8bdf
RGBrgb(155, 139, 223)
HSLhsl(251, 57%, 71%)
CMYKcmyk(31%, 38%, 0%, 13%)
LABlab(62.3 24.5 -40.7)
LCHlch(62.3 47.5 301.0)
OKLCHoklch(0.685 0.122 291.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b8bdf on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#9b8bdf on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green54.5%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta37.7%
Yellow0.0%
Key (black)12.5%

Color previews

#9b8bdf text on a black background

contrast 7.15:1

Card sample

#9b8bdf text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8bdf in the Color Lab