This is why the blue flower tea changes color when you add lemon or lime juice to it. The citrus juice is acidic, so it causes the anthocyanins in the tea to turn blue. When you add baking soda, which is alkaline, it causes the anthocyanins to turn purple or pink.
The color change of this tea is a fun and easy way to demonstrate how pH can affect the color of natural pigments. It's also a great way to learn more about the chemistry behind the colors we see in nature.