Color #9f8798
A nearly neutral, gray-leaning medium magenta.
Conversions
#9f8798
rgb(159, 135, 152)
hsl(317.5, 11.1%, 57.6%)
hsv(317.5, 15.1%, 62.4%)
cmyk(0%, 15.1%, 4.4%, 37.6%)
lab(58.94, 12.13, -5.67)
lch(58.94, 13.39, 334.95)
oklch(65.1%, 0.0376, 336.5)
hwb(317.5, 52.9%, 37.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.39:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#959594 · ΔE 14.2
Deuteranopia
#979893 · ΔE 17.4
Tritanopia
#9e9190 · ΔE 9.5
Achromatopsia
#8e8e8e · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f8798;
bg-[#9f8798]
Related colors
Frequently asked questions
#9f8798 (#9f8798) is rgb(159, 135, 152) in RGB.
No, #9f8798 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #9f8798, or check how it holds up for accessibility.