Question: why are democratic states blue and republican states red?
Answer: All states contain both liberal and conservative voters (i.e. they are "purple") and only appear blue/red on the electoral map because of the winner-take-all system used by most states in the Electoral College.