Upgrade hp pavilion

You may not need to upgrade the power supply since you're only looking at buying a mid range card. I took a look at the specification sheet but all it says is "Power Supply: Power Supply" which is not helpful at all. I'm going to guess that your PSU is probably in the 300 watt range but without knowing more I can't say for certain. If you're comfortable taking a look inside your case to see if any markings are visible on the PSU that would be a huge help

You will also need to get a PSU that is the same formfactor as the one that your case contains, so I would forget about buying that one unless yours is the same size