Color #9f56bb
A moderately saturated medium purple.
Conversions
#9f56bb
rgb(159, 86, 187)
hsl(283.4, 42.6%, 53.5%)
hsv(283.4, 54%, 73.3%)
cmyk(15%, 54%, 0%, 26.7%)
lab(49.03, 46.74, -41.15)
lch(49.03, 62.27, 318.64)
oklch(58%, 0.1646, 315.81)
hwb(283.4, 33.7%, 26.7%)
Harmony colors
Accessibility
White text reads better on this background (4.64:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8685a9 · ΔE 18.2
Deuteranopia
#898ea5 · ΔE 21.3
Tritanopia
#9c9a96 · ΔE 32.2
Achromatopsia
#747474 · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f56bb;
bg-[#9f56bb]
Related colors
Frequently asked questions
#9f56bb (#9f56bb) is rgb(159, 86, 187) in RGB.
No, #9f56bb 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 #9f56bb, or check how it holds up for accessibility.