Color #9157ce
A moderately saturated medium purple.
Conversions
#9157ce
rgb(145, 87, 206)
hsl(269.2, 54.8%, 57.5%)
hsv(269.2, 57.8%, 80.8%)
cmyk(29.6%, 57.8%, 0%, 19.2%)
lab(48.63, 46.94, -52.85)
lch(48.63, 70.69, 311.61)
oklch(57.7%, 0.1796, 303.76)
hwb(269.2, 34.1%, 19.2%)
Harmony colors
Accessibility
White text reads better on this background (4.71:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7cba · ΔE 13.7
Deuteranopia
#7f83b5 · ΔE 16.2
Tritanopia
#8fa8a4 · ΔE 32.1
Achromatopsia
#737373 · ΔE 27.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9157ce;
bg-[#9157ce]
Related colors
Frequently asked questions
#9157ce (#9157ce) is rgb(145, 87, 206) in RGB.
No, #9157ce 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 #9157ce, or check how it holds up for accessibility.