The Tottenham star scored his side's second goal following Raphinha's opener on Tuesday.
He performed a knee-slide as he celebrated near the corner flag.
But as he celebrated his goal, the Parc des Princes crowd began to hurl objects at Richarlison and his teammates.
Fred kicked the object off the pitch before looking up to the crowd.
Moments later, another missile was launched at the forward in the shape of a banana in a shocking moment.
It comes as the Brazil players displayed an anti-racism message prior to kick-off.
They posed next to a banner that read: "Without black players, we wouldn't have stars on our shirts."
Lamentavelmente, após a ação, uma banana foi atirada no gramado em direção a Richarlison, autor do segundo gol brasileiro. A CBF reforça o sua posição de combate ao racismo e repudia qualquer manifestação preconceituosa. https://t.co/H9qpRCpyab— CBF Futebol (@CBF_Futebol) September 27, 2022
The powerful message came in response to Real Madrid star Vinicius Jr. being racially abused by Atletico Madrid fans.
Brazil, meanwhile, end their World Cup preparation with a big 5-1 win over Tunisia.
The five-time World Cup winners are among the favourites to raise gold in Qatar.
And former Brazil star Kaka likes his country's chances at the World Cup, highlighting Richarlison as a key player.
"In the 2018 World Cup, Ney was the absolute protagonist but now we have Vinicius, Raphinha, Richarlison, Antony... who are not young promises but realities," he said.
"This takes some pressure off him, something that is very favourable for our interests."
Featured Image Credit: via Twitter
- Richarlison taught Ronaldo how to do his pigeon dance celebration
- Richarlison has gained three million Instagram followers since his bicycle kick against Serbia
- Ivan Toney suffers sickening racist abuse after scoring twice for Brentford
- Richarlison scores goal of the tournament for Brazil, the technique was insane