Skip to content

#9b8dbb

a balanced, soft violet · warm · closest name: plum

RGB
155, 141, 187
HSL
258°, 25%, 64%
CMYK
17, 25, 0, 27
Luminance
0.2961

Every format

HEX#9b8dbb
RGBrgb(155, 141, 187)
HSLhsl(258, 25%, 64%)
CMYKcmyk(17%, 25%, 0%, 27%)
LABlab(61.3 14.6 -22.1)
LCHlch(61.3 26.5 303.6)
OKLCHoklch(0.672 0.069 298.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red60.8%
Green55.3%
Blue73.3%

CMYK percentages

Cyan17.1%
Magenta24.6%
Yellow0.0%
Key (black)26.7%

Color previews

#9b8dbb text on a black background

contrast 6.92:1

Card sample

#9b8dbb text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8dbb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8dbb in the Color Lab