Skip to content

#9f9dab

a balanced, muted gray · warm · closest name: gray

RGB
159, 157, 171
HSL
249°, 8%, 64%
CMYK
7, 8, 0, 33
Luminance
0.3443

Every format

HEX#9f9dab
RGBrgb(159, 157, 171)
HSLhsl(249, 8%, 64%)
CMYKcmyk(7%, 8%, 0%, 33%)
LABlab(65.3 3.5 -7.0)
LCHlch(65.3 7.8 296.4)
OKLCHoklch(0.702 0.020 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f9dab on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#9f9dab on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green61.6%
Blue67.1%

CMYK percentages

Cyan7.0%
Magenta8.2%
Yellow0.0%
Key (black)32.9%

Color previews

#9f9dab text on a black background

contrast 7.89:1

Card sample

#9f9dab text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 157, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 157, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f9dab;
background: linear-gradient(135deg, #9f9dab, #A89DAB);

Monochromatic scale

Palettes built from #9f9dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f9dab in the Color Lab