It depends on what you're actually using the contactor for.
If it's solely to control the main power, so you can use a smaller main switch, then it won't really matter what voltage controls it.

However, if you're using it as part of the E-stop, it should really be 24V.



You need to select a contactor with the correct coil voltage.