Color #b27ba6
A muted medium magenta.
Conversions
#b27ba6
rgb(178, 123, 166)
hsl(313.1, 26.3%, 59%)
hsv(313.1, 30.9%, 69.8%)
cmyk(0%, 30.9%, 6.7%, 30.2%)
lab(58.4, 28.32, -14.31)
lch(58.4, 31.73, 333.19)
oklch(65.3%, 0.0895, 334.67)
hwb(313.1, 48.2%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.28:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9d9d · ΔE 22.3
Deuteranopia
#a0a49b · ΔE 30.9
Tritanopia
#b09594 · ΔE 16.3
Achromatopsia
#8c8c8c · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b27ba6;
bg-[#b27ba6]
Related colors
Frequently asked questions
#b27ba6 (#b27ba6) is rgb(178, 123, 166) in RGB.
No, #b27ba6 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 #b27ba6, or check how it holds up for accessibility.