For more formal events, just upgrade to more sophisticated items, such as fitted joggers or elegant leggings, and match them with a dressier shirt and jewelry.