Skip to content

#9b8eb8

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

RGB
155, 142, 184
HSL
259°, 23%, 64%
CMYK
16, 23, 0, 28
Luminance
0.2978

Every format

HEX#9b8eb8
RGBrgb(155, 142, 184)
HSLhsl(259, 23%, 64%)
CMYKcmyk(16%, 23%, 0%, 28%)
LABlab(61.5 13.4 -20.1)
LCHlch(61.5 24.2 303.6)
OKLCHoklch(0.673 0.063 298.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b8eb8 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#9b8eb8 on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green55.7%
Blue72.2%

CMYK percentages

Cyan15.8%
Magenta22.8%
Yellow0.0%
Key (black)27.8%

Color previews

#9b8eb8 text on a black background

contrast 6.96:1

Card sample

#9b8eb8 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b8eb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b8eb8 in the Color Lab