Paint primer is necessary for white walls when the surface is not suitable for your desired paint type or color. If you are going for a drastic color change, you need a primer to avoid color discrepancy. Most surfaces, irrelevant of color, require some adhesive assistance to ensure the paint sticks and covers as expected and long-term.