There is no playable purple Yoshi in Yoshi's Story, but one does appear in the game.
So if you have seen a purple Yoshi on screen, you were not imagining it. You just cannot select it from the character lineup.