Color #9d8fab
A nearly neutral, gray-leaning light purple.
Conversions
#9d8fab
rgb(157, 143, 171)
hsl(270, 14.3%, 61.6%)
hsv(270, 16.4%, 67.1%)
cmyk(8.2%, 16.4%, 0%, 32.9%)
lab(61.44, 10.66, -12.79)
lch(61.44, 16.65, 309.81)
oklch(67.2%, 0.0436, 307.74)
hwb(270, 56.1%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9797a5 · ΔE 8.3
Deuteranopia
#9899a3 · ΔE 10.2
Tritanopia
#9ca09e · ΔE 16.6
Achromatopsia
#949494 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d8fab;
bg-[#9d8fab]
Related colors
Frequently asked questions
#9d8fab (#9d8fab) is rgb(157, 143, 171) in RGB.
No, #9d8fab 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 #9d8fab, or check how it holds up for accessibility.