Color #9a7fa0
A nearly neutral, gray-leaning medium purple.
Conversions
#9a7fa0
rgb(154, 127, 160)
hsl(289.1, 14.8%, 56.3%)
hsv(289.1, 20.6%, 62.7%)
cmyk(3.8%, 20.6%, 0%, 37.3%)
lab(56.67, 16.5, -13.72)
lch(56.67, 21.46, 320.26)
oklch(63.3%, 0.0576, 320.07)
hwb(289.1, 49.8%, 37.3%)
Harmony colors
Accessibility
Black text reads better on this background (5.92:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8f99 · ΔE 13.7
Deuteranopia
#919397 · ΔE 16.8
Tritanopia
#999392 · ΔE 16.4
Achromatopsia
#888888 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7fa0;
bg-[#9a7fa0]
Related colors
Frequently asked questions
#9a7fa0 (#9a7fa0) is rgb(154, 127, 160) in RGB.
No, #9a7fa0 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 #9a7fa0, or check how it holds up for accessibility.