Color #ba7dac
A muted light magenta.
Conversions
#ba7dac
rgb(186, 125, 172)
hsl(313.8, 30.7%, 61%)
hsv(313.8, 32.8%, 72.9%)
cmyk(0%, 32.8%, 7.5%, 27.1%)
lab(59.97, 31.04, -15.3)
lch(59.97, 34.61, 333.76)
oklch(66.7%, 0.098, 335.27)
hwb(313.8, 49%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (6.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a3a3a2 · ΔE 24
Deuteranopia
#a6aba0 · ΔE 33
Tritanopia
#b89a98 · ΔE 17.4
Achromatopsia
#909090 · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba7dac;
bg-[#ba7dac]
Related colors
Frequently asked questions
#ba7dac (#ba7dac) is rgb(186, 125, 172) in RGB.
No, #ba7dac 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 #ba7dac, or check how it holds up for accessibility.