There is no strict answer to this. More than attacker's CP, the outcome of the raid depends on:
* Machamp's attacks
* Machamp's weather boost
* Attackers attacks
* Combination of attackers IVs and levels, which can be approximated with CP
I recommend using GoBattleSim (https://pokemongo.gamepress.gg/gobattlesim) which I have used a lot myself for Machamp raids. You can fill in your team and then try to see which level they need to be in order to defeat Machamp.
That being said, I think 5 Espeons make your team too frail to prey on Machamp with a charge move other than Close Combat. You need to add pokemon with more survivability. Alternatively, if you have a good phone, you can try to heal your Espeons when they are all fainted and then send them to battle again, in which case they are good candidates because of their high DPS.