The dyes changes color because a chemical reaction has takes place in the medium. When universal indicator is added to a solution, the color changes which indicate the approximate pH of the solution. It also means that there is a change in the concentrations of an acid and a base.