Color #9166a2
A muted medium purple.
Conversions
#9166a2
rgb(145, 102, 162)
hsl(283, 24.4%, 51.8%)
hsv(283, 37%, 63.5%)
cmyk(10.5%, 37%, 0%, 36.5%)
lab(49.66, 28.35, -25.69)
lch(49.66, 38.26, 317.82)
oklch(57.7%, 0.1017, 316.04)
hwb(283, 40%, 36.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#818096 · ΔE 14.8
Deuteranopia
#838693 · ΔE 18.6
Tritanopia
#8f8c8a · ΔE 24.4
Achromatopsia
#767676 · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9166a2;
bg-[#9166a2]
Related colors
Frequently asked questions
#9166a2 (#9166a2) is rgb(145, 102, 162) in RGB.
No, #9166a2 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 #9166a2, or check how it holds up for accessibility.