Color #9d56bb
A moderately saturated medium purple.
Conversions
#9d56bb
rgb(157, 86, 187)
hsl(282.2, 42.6%, 53.5%)
hsv(282.2, 54%, 73.3%)
cmyk(16%, 54%, 0%, 26.7%)
lab(48.78, 46.2, -41.57)
lch(48.78, 62.15, 318.02)
oklch(57.8%, 0.1637, 314.88)
hwb(282.2, 33.7%, 26.7%)
Harmony colors
Accessibility
White text reads better on this background (4.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8484a9 · ΔE 17.9
Deuteranopia
#888ca5 · ΔE 20.8
Tritanopia
#9a9a96 · ΔE 32.9
Achromatopsia
#747474 · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d56bb;
bg-[#9d56bb]
Related colors
Frequently asked questions
#9d56bb (#9d56bb) is rgb(157, 86, 187) in RGB.
No, #9d56bb 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 #9d56bb, or check how it holds up for accessibility.