Color #9a7aad
A muted medium purple.
Conversions
#9a7aad
rgb(154, 122, 173)
hsl(277.6, 23.7%, 57.8%)
hsv(277.6, 29.5%, 67.8%)
cmyk(11%, 29.5%, 0%, 32.2%)
lab(55.89, 22.12, -22.39)
lch(55.89, 31.47, 314.65)
oklch(62.8%, 0.083, 312.51)
hwb(277.6, 47.8%, 32.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8da3 · ΔE 12.7
Deuteranopia
#8f91a0 · ΔE 15.6
Tritanopia
#999a98 · ΔE 23.9
Achromatopsia
#868686 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a7aad;
bg-[#9a7aad]
Related colors
Frequently asked questions
#9a7aad (#9a7aad) is rgb(154, 122, 173) in RGB.
No, #9a7aad 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 #9a7aad, or check how it holds up for accessibility.