Color #ba55a3
A moderately saturated medium magenta.
Conversions
#ba55a3
rgb(186, 85, 163)
hsl(313.7, 42.3%, 53.1%)
hsv(313.7, 54.3%, 72.9%)
cmyk(0%, 54.3%, 12.4%, 27.1%)
lab(51.36, 50.49, -23.22)
lch(51.36, 55.57, 335.3)
oklch(60.1%, 0.1602, 336.96)
hwb(313.7, 33.3%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (4.92:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#999895 · ΔE 29.5
Deuteranopia
#9ea491 · ΔE 42.3
Tritanopia
#b78885 · ΔE 23
Achromatopsia
#7a7a7a · ΔE 25.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba55a3;
bg-[#ba55a3]
Related colors
Frequently asked questions
#ba55a3 (#ba55a3) is rgb(186, 85, 163) in RGB.
No, #ba55a3 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 #ba55a3, or check how it holds up for accessibility.