Color #ba7fcc
A moderately saturated light purple.
Conversions
#ba7fcc
rgb(186, 127, 204)
hsl(286, 43%, 64.9%)
hsv(286, 37.7%, 80%)
cmyk(8.8%, 37.7%, 0%, 20%)
lab(61.64, 36.07, -30.89)
lch(61.64, 47.49, 319.42)
oklch(68.4%, 0.127, 318.1)
hwb(286, 49.8%, 20%)
Harmony colors
Accessibility
Black text reads better on this background (7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a4a3bd · ΔE 16.4
Deuteranopia
#a7abb9 · ΔE 19.9
Tritanopia
#b8b0ad · ΔE 25.8
Achromatopsia
#959595 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ba7fcc;
bg-[#ba7fcc]
Related colors
Frequently asked questions
#ba7fcc (#ba7fcc) is rgb(186, 127, 204) in RGB.
No, #ba7fcc 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 #ba7fcc, or check how it holds up for accessibility.