Color #ba5f9a
A muted medium magenta.
Conversions
#ba5f9a
rgb(186, 95, 154)
hsl(321.1, 39.7%, 55.1%)
hsv(321.1, 48.9%, 72.9%)
cmyk(0%, 48.9%, 17.2%, 27.1%)
lab(52.9, 44.09, -15.57)
lch(52.9, 46.76, 340.55)
oklch(61.2%, 0.1369, 342.4)
hwb(321.1, 37.3%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.19:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a8f · ΔE 32.8
Deuteranopia
#a0a58c · ΔE 41.8
Tritanopia
#b78582 · ΔE 19.2
Achromatopsia
#7e7e7e · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba5f9a;
bg-[#ba5f9a]
Related colors
Frequently asked questions
#ba5f9a (#ba5f9a) is rgb(186, 95, 154) in RGB.
No, #ba5f9a 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 #ba5f9a, or check how it holds up for accessibility.