The purplish hue found in red onions is produced by anthocyanins and flavonoids, two antioxidants that are not only prettily pigmented, but also healthy, since they neutralize free radicals in the body. Other purple foods, such as purple grapes, blackcurrants, and eggplant, are also rich in these two pigments.