Nestle has won an appeal in a trademark dispute with Mondelez International-owned Cadbury UK that looks set to allow the world's largest food group to use the colour purple to package chocolate products.