Color #9a5da5
A muted medium magenta.
Conversions
#9a5da5
rgb(154, 93, 165)
hsl(290.8, 28.6%, 50.6%)
hsv(290.8, 43.6%, 64.7%)
cmyk(6.7%, 43.6%, 0%, 35.3%)
lab(48.78, 36.94, -28.73)
lch(48.78, 46.8, 322.13)
oklch(57.4%, 0.1264, 321.33)
hwb(290.8, 36.5%, 35.3%)
Harmony colors
Accessibility
White text reads better on this background (4.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#848397 · ΔE 18.3
Deuteranopia
#878b94 · ΔE 21.7
Tritanopia
#988c89 · ΔE 25.5
Achromatopsia
#747474 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a5da5;
bg-[#9a5da5]
Related colors
Frequently asked questions
#9a5da5 (#9a5da5) is rgb(154, 93, 165) in RGB.
No, #9a5da5 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 #9a5da5, or check how it holds up for accessibility.