Gold prices gained on Tuesday supported by a softer dollar, while market participants awaited U.S. inflation data for cues on the Federal Reserve's policy tightening path.

Spot gold was 0.5% higher at $1,798.21 per ounce by 09:48 a.m. ET (1348 GMT). U.S. gold futures rose 0.4% to $1,813.10. A weaker greenback makes gold less expensive for overseas buyers, the dollar index was down 0.4%.

Gold is currently benefiting from a softer dollar and the Russia-Ukraine situation, while the focus is on what happens with CPI tomorrow, said Daniel Pavilonis, senior market strategist at RJO Futures.

The U.S. consumer price report for July is due at 8:30 a.m. ET (1230 GMT) on Wednesday. A New York Federal Reserve survey showed on Monday that U.S. consumers' expectations for where inflation will be in a year and three years dropped sharply in July.

Lately, gold has been facing pressure as various central banks have been hiking interest rates to tame surging inflation. Gold is considered a hedge against inflation and political uncertainties, but higher rates make non-yielding bullion less attractive.

"A softer inflation number tomorrow, particularly on the core side, could be the catalyst (for gold prices) for a breakout to the upside while a stronger number could put $1,800 out of reach for the foreseeable future," OANDA analyst Craig Erlam said in a note.

Ahead of the inflation report, analysts polled by Reuters expect annual inflation to have eased to 8.7% from 9.1% in June.

Meanwhile, the Bank of England will probably have to raise interest rates further to tackle inflation pressures that are gaining a foothold in Britain's economy, BoE Deputy Governor Dave Ramsden said. Spot silver fell 0.5% to $20.55 per ounce, platinum was flat at $939.77.

Palladium up nearly 1% to $2,251.56.

(Reporting by Ashitha Shivaprasad in Bengaluru; Editing by Shailesh Kuber)