Color #9a7ca4
A muted medium purple.
Conversions
#9a7ca4
rgb(154, 124, 164)
hsl(285, 18%, 56.5%)
hsv(285, 24.4%, 64.3%)
cmyk(6.1%, 24.4%, 0%, 35.7%)
lab(56.05, 19.05, -16.96)
lch(56.05, 25.51, 318.32)
oklch(62.9%, 0.0681, 317.62)
hwb(285, 48.6%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8e8e9c · ΔE 13.9
Deuteranopia
#909299 · ΔE 17.1
Tritanopia
#999493 · ΔE 18.6
Achromatopsia
#868686 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7ca4;
bg-[#9a7ca4]
Related colors
Frequently asked questions
#9a7ca4 (#9a7ca4) is rgb(154, 124, 164) in RGB.
No, #9a7ca4 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 #9a7ca4, or check how it holds up for accessibility.