Skip to content
Kolorvia
#9a979a

Color #9a979a

A nearly neutral, gray-leaning medium magenta.

Conversions

HEX
#9a979a
RGB
rgb(154, 151, 154)
HSL
hsl(300, 1.5%, 59.8%)
HSV / HSB
hsv(300, 1.9%, 60.4%)
CMYK
cmyk(0%, 1.9%, 0%, 39.6%)
LAB
lab(62.79, 1.67, -1.19)
LCH
lch(62.79, 2.05, 324.53)
OKLCH
oklch(68%, 0.0055, 326.02)
HWB
hwb(300, 59.2%, 39.6%)

Harmony colors

Complementary

#979a97

Analogous

#98979a
#9a979a
#9a9798

Triadic

#9a979a
#9a9a97
#979a9a

Split-complementary

#9a979a
#989a97
#979a98

Tetradic

#9a979a
#9a9797
#979a97
#979a9a

Square

#9a979a
#9a9897
#979a97
#97989a

Shades

Color #9a979a mixed toward black.

#817d81
#676467
#4d4b4d
#343234
#1a191a

Tints

Color #9a979a mixed toward white.

#aba8ab
#bcbabc
#cdcbcd
#dddcdd
#eeeeee

Tones

Color #9a979a mixed toward gray.

#9a979a
#9a979a
#999899
#999899
#999899

Accessibility

Aa White text on this color
2.89:1
Aa Black text on this color
7.27:1

Black text reads better on this background (7.27:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#999999 · ΔE 2.6

Deuteranopia

#999999 · ΔE 2.6

Tritanopia

#9a9999 · ΔE 2.3

Achromatopsia

#989898 · ΔE 2.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #9a979a;
Tailwind (arbitrary value)
bg-[#9a979a]

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#9a979a (#9a979a) is rgb(154, 151, 154) in RGB.

No, #9a979a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #9a979a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.