All cats can hear, regardless of coat color. White cats are no different in their basic ability to hear.
The idea that white cats are deaf is a misconception. Some white cats with blue eyes have a genetic condition called piebaldism that can be linked to deafness, but this is not a rule. White cats with green, yellow, or other eye colors are just as likely to hear normally as any other cat.
Generalizations about hearing based on coat color are inaccurate. Each cat should be assessed individually.