Purple is chemistry's status light. In blueberry batter, anthocyanins register acidity through an acid-base equilibrium as hydrogen-ion concentration shifts their molecular shape. The pixels have changed. Like a display driver, the pigment's molecular states select the color reaching the eye; citric acid keeps pH low enough for red-purple forms to dominate, even as oven heat accelerates reactions that can weaken the dye.
Acid wins this fight. At lower pH, the flavylium cation, an anthocyanin structure, is favored; it leans red, but blueberry mixtures often read purple because other pigments, fruit solids, and light absorption complicate the result. A squeeze is not magic. Its effect depends on dose, berry acidity, recipe water, sugar concentration, and alkaline ingredients, while heat can fracture anthocyanins and dull every shade if baking runs too long or temperatures climb too high.
Baking soda rewrites the signal. Sodium bicarbonate raises pH, pushing anthocyanins from the flavylium cation toward quinonoidal-base forms that appear blue and, at stronger alkalinity, can look blue-green before losing stability. That bargain is harsh. It also reacts with acids to make carbon dioxide, which lifts batter, so cutting it blindly can flatten texture; balance the leavener with acid instead. Precision tools may intervene. Recipe software and smart ovens could turn pH readings into color-calibration instructions, flagging a teal or gray muffin before its crust sets.