The Catalans had lost their last six games against Bayern but outplayed the six-time winners at the Olympic Stadium with Robert Lewandowski also on the scoresheet, while England star Harry Kane struck for the visitors.
Building on last week's 2-1 comeback win in Chile, Brazil looked livelier from the start and dominated possession, with late goals from Andreas Pereira and Luiz Henrique putting the gloss on an impressive performance.
After scoring the first hat-trick of his career and delivering two assists to guide Barca to a 7-0 demolition of Real Valladolid, Raphinha said that the result showed that the club has the players it needs to be contenders.
Brazil winger Raphinha scored a hattrick as Barcelona thrashed Real Valladolid 7-0 on Saturday to make it four wins from four in La Liga under new coach Hansi Flick.
Brazil goalscorer Raphinha insisted the five-time world champions would be unfazed at the prospect of playing Uruguay.
“This is a sad moment for those who love Brazilian soccer. It’s getting hard to find the spirit to watch the games. This is perhaps one of the worst teams in recent years, it has no respectable leaders, only average players for the majority."
Barcelona woke up with a familiar sinking feeling on Wednesday, another Champions League hangover, after Paris Saint-Germain thrashed them 4-1 at home to eliminate them in the quarter-finals.
Barcelona coach Xavi Hernandez hailed his side's 3-2 win away to Paris Saint-Germain in the first leg of their Champions League quarter-final on Wednesday, insisting it showed the Catalans could once again compete with the very best teams in Europe.
Barcelona coach Xavi Hernandez said Saturday goalkeeper Marc-Andre ter Stegen and winger Raphinha are fit again after injury to help the team's ailing title defence.
Vinicius, who limped off early in Madrid's 1-0 La Liga win against Celta Vigo on Friday, will reportedly be out for up to six weeks with a hamstring injury, taking him out of Brazil's qualifiers against Bolivia and Peru on September 8 and 12, respectively.
Repeating the combination of provider and scorer from last week's 1-0 win at Valencia, Raphinha netted a thunderous strike right on halftime after a brilliant pass by midfielder Sergio Busquets who spotted the Brazilian ghosting behind the defence
Barcelona clung on with 10 men to beat Valencia 1-0 and move 10 points clear of Real Madrid at the top of La Liga on Sunday, thanks to Raphinha's early header.
The 26-year-old scored against Real Betis in a 2-1 win on February 1 and then again in the 3-0 win over Sevilla on Sunday, helping Barcelona open an eight point chasm above second place Real Madrid.
Brazil's Barcelona winger Raphinha said the World Cup is a good moment to bring out the feeling of togetherness in the Brazilian people again as he recalled his country winning the 2002 title.
Robert Lewandowski scored his fifth goal in four LaLiga games for Barcelona and helped his team breeze past Sevilla with a 3-0 win on Saturday, with Raphinha and Eric Garcia both adding a goal each for the visitors.
La Liga is reportedly refusing to allow FC Barcelona to register new players ahead of the new season.
French winger Dembele opened the scoring with his third goal in two matches. From a pass by Raphinha he unleashed a right-footed blast into the bottom right corner of Carlos Coronel's net.
Raphinha made it two goals in two matches as Barcelona defeated Real Madrid 1-0 on Saturday in their Las Vegas Clasico.
Real Madrid begin their pre-season with a friendly El Clasico against arch-rivals Barcelona FC at the Allegiant Stadium in Las Vegas, USA on Sunday.