Color #ba91b6
A muted light magenta.
Conversions
#ba91b6
rgb(186, 145, 182)
hsl(305.9, 22.9%, 64.9%)
hsv(305.9, 22%, 72.9%)
cmyk(0%, 22%, 2.2%, 27.1%)
lab(65.02, 21.76, -13.35)
lch(65.02, 25.53, 328.47)
oklch(70.7%, 0.0705, 329.58)
hwb(305.9, 56.9%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (7.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aaa9ae · ΔE 17.6
Deuteranopia
#acafac · ΔE 24.1
Tritanopia
#b8a7a6 · ΔE 15.7
Achromatopsia
#9e9e9e · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba91b6;
bg-[#ba91b6]
Related colors
Frequently asked questions
#ba91b6 (#ba91b6) is rgb(186, 145, 182) in RGB.
No, #ba91b6 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 #ba91b6, or check how it holds up for accessibility.