The differences in the colors of sweet potatoes are because of their nutrient content. Orange sweet potatoes contain more beta-carotene, whereas the purple ones contain more anthocyanins.