Color #9d8ea1
A nearly neutral, gray-leaning medium purple.
Conversions
#9d8ea1
rgb(157, 142, 161)
hsl(287.4, 9.2%, 59.4%)
hsv(287.4, 11.8%, 63.1%)
cmyk(2.5%, 11.8%, 0%, 36.9%)
lab(60.86, 9.18, -7.98)
lch(60.86, 12.16, 319)
oklch(66.6%, 0.0325, 319.11)
hwb(287.4, 55.7%, 36.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#97979d · ΔE 9.3
Deuteranopia
#98999c · ΔE 11.1
Tritanopia
#9c9998 · ΔE 11.4
Achromatopsia
#939393 · ΔE 11.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d8ea1;
bg-[#9d8ea1]
Related colors
Frequently asked questions
#9d8ea1 (#9d8ea1) is rgb(157, 142, 161) in RGB.
No, #9d8ea1 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 #9d8ea1, or check how it holds up for accessibility.