You don't have to wear only formal to a cocktail party that differs from the regular events but you can try experimenting with casual attire as well.