Formal:
* Passez une bonne soirée! (This is the most common and polite way to say it.)
Informal:
* Bonne soirée! (This is a shorter, more casual version.)
* Profite bien de ta soirée! (This means "Enjoy your evening!")
* Passe une bonne nuit! (This is more literal, and would be used if you're saying goodbye for the night.)
You can also add a bit of extra personalization depending on who you're speaking to:
* Amuse-toi bien! (Have fun!)
* J'espère que tu vas bien t'amuser! (I hope you have a good time!)
The best way to choose the right phrase is to consider the person you're speaking to and the situation.