Color #ba7eab
A muted light magenta.
Conversions
#ba7eab
rgb(186, 126, 171)
hsl(315, 30.3%, 61.2%)
hsv(315, 32.3%, 72.9%)
cmyk(0%, 32.3%, 8.1%, 27.1%)
lab(60.16, 30.31, -14.43)
lch(60.16, 33.57, 334.54)
oklch(66.9%, 0.0953, 336.1)
hwb(315, 49.4%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (6.66:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a4a3a2 · ΔE 23.1
Deuteranopia
#a7ab9f · ΔE 32.8
Tritanopia
#b89a98 · ΔE 16.9
Achromatopsia
#919191 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba7eab;
bg-[#ba7eab]
Related colors
Frequently asked questions
#ba7eab (#ba7eab) is rgb(186, 126, 171) in RGB.
No, #ba7eab 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 #ba7eab, or check how it holds up for accessibility.