In Despicable Me 2, the chemical that turns Minions into purple monsters is PX-41.
PX-41 is a powerful mutagen stolen from a laboratory in the Arctic Circle. The supervillain El Macho uses it on kidnapped Minions, transforming them into purple, mindless, and extremely destructive creatures. He intends to use the mutated army as part of a plan to conquer the world.
The transformation is one of the film’s main threats because the mutated Minions are far more aggressive than their usual mischievous selves. Gru and the Anti-Villain League must track down the stolen mutagen and stop El Macho before he can expand his army.
The code is easy to confuse with similar-looking alternatives such as PX-40, PX-42, or RX-41. However, the film consistently identifies the mutagen as PX-41. Another important distinction is that PX-41 is the chemical itself; the purple Minions are the creatures altered by exposure to it, not a separate species of Minion.