Color #9a6ea2
A muted medium magenta.
Conversions
#9a6ea2
rgb(154, 110, 162)
hsl(290.8, 21.8%, 53.3%)
hsv(290.8, 32.1%, 63.5%)
cmyk(4.9%, 32.1%, 0%, 36.5%)
lab(52.54, 26.71, -21.16)
lch(52.54, 34.08, 321.61)
oklch(60.2%, 0.092, 321.22)
hwb(290.8, 43.1%, 36.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#898997 · ΔE 17.2
Deuteranopia
#8c8f95 · ΔE 20.4
Tritanopia
#988e8c · ΔE 21.3
Achromatopsia
#7d7d7d · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a6ea2;
bg-[#9a6ea2]
Related colors
Frequently asked questions
#9a6ea2 (#9a6ea2) is rgb(154, 110, 162) in RGB.
No, #9a6ea2 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 #9a6ea2, or check how it holds up for accessibility.