Why does my 5 month old baby have purple poop. The only thing she ate differently was bananas?

What She Ate. If there she ate jarred bananas, one of the ingredients caused the color. Check the label.In any case, this should be harmless.