Color #b158bf
A moderately saturated medium magenta.
Conversions
#b158bf
rgb(177, 88, 191)
hsl(291.8, 44.6%, 54.7%)
hsv(291.8, 53.9%, 74.9%)
cmyk(7.3%, 53.9%, 0%, 25.1%)
lab(51.94, 51.43, -38.72)
lch(51.94, 64.38, 323.03)
oklch(60.7%, 0.1743, 322.04)
hwb(291.8, 34.5%, 25.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9392ad · ΔE 21.3
Deuteranopia
#979da8 · ΔE 23.7
Tritanopia
#ae9d99 · ΔE 29.6
Achromatopsia
#7c7c7c · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b158bf;
bg-[#b158bf]
Related colors
Frequently asked questions
#b158bf (#b158bf) is rgb(177, 88, 191) in RGB.
No, #b158bf 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 #b158bf, or check how it holds up for accessibility.