Color #b157a3
A muted medium magenta.
Conversions
#b157a3
rgb(177, 87, 163)
hsl(309.3, 36.6%, 51.8%)
hsv(309.3, 50.8%, 69.4%)
cmyk(0%, 50.8%, 7.9%, 30.6%)
lab(50.46, 46.81, -24.71)
lch(50.46, 52.93, 332.17)
oklch(59.2%, 0.1503, 333.49)
hwb(309.3, 34.1%, 30.6%)
Harmony colors
Accessibility
Black text reads better on this background (4.76:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#939295 · ΔE 25.8
Deuteranopia
#979d91 · ΔE 38.2
Tritanopia
#ae8986 · ΔE 23.5
Achromatopsia
#787878 · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b157a3;
bg-[#b157a3]
Related colors
Frequently asked questions
#b157a3 (#b157a3) is rgb(177, 87, 163) in RGB.
No, #b157a3 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 #b157a3, or check how it holds up for accessibility.