He grabbed his first goal inside the opening minute before Harry Kane equalised for the visitors. Barca then went 3-1 ahead going into the break as Raphinha scored again after Robert Lewandowski's strike. The Brazil international claimed his hat-trick after the break in a comfortable night for Hansi Flick's men.
Barca had lost six straight games against Bayern before tonight but, under the guidance of ex-Bayern manager Hansi Flick, frequently cut through the German side with ruthless efficiency.
Raphinha's first goal came inside a minute off a transition and was a sign of things to come. While Harry Kane did equalise, ex-Bayern striker Robert Lewandowski soon restored the lead.
A pair of well-taken breakaway goals - set up by superb Marc Casado and Lamine Yamal assists - completed the Raphinha hat-trick and meant the contest was effectively over before an hour had been played.