Color #9f70b1
A muted medium purple.
Conversions
#9f70b1
rgb(159, 112, 177)
hsl(283.4, 29.4%, 56.7%)
hsv(283.4, 36.7%, 69.4%)
cmyk(10.2%, 36.7%, 0%, 30.6%)
lab(54.17, 30.35, -27.31)
lch(54.17, 40.83, 318.02)
oklch(61.7%, 0.1086, 316.31)
hwb(283.4, 43.9%, 30.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8da4 · ΔE 15.4
Deuteranopia
#9093a1 · ΔE 18.7
Tritanopia
#9d9997 · ΔE 24.7
Achromatopsia
#818181 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f70b1;
bg-[#9f70b1]
Related colors
Frequently asked questions
#9f70b1 (#9f70b1) is rgb(159, 112, 177) in RGB.
No, #9f70b1 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 #9f70b1, or check how it holds up for accessibility.