Color #ba96c7
A muted light purple.
Conversions
#ba96c7
rgb(186, 150, 199)
hsl(284.1, 30.4%, 68.4%)
hsv(284.1, 24.6%, 78%)
cmyk(6.5%, 24.6%, 0%, 22%)
lab(66.81, 22.29, -20.15)
lch(66.81, 30.05, 317.89)
oklch(72.3%, 0.0802, 316.97)
hwb(284.1, 58.8%, 22%)
Harmony colors
Accessibility
Black text reads better on this background (8.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#acabbd · ΔE 13.9
Deuteranopia
#aeb0ba · ΔE 17.5
Tritanopia
#b8b4b2 · ΔE 21
Achromatopsia
#a2a2a2 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba96c7;
bg-[#ba96c7]
Related colors
Frequently asked questions
#ba96c7 (#ba96c7) is rgb(186, 150, 199) in RGB.
No, #ba96c7 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 #ba96c7, or check how it holds up for accessibility.