To dream of racism is a self-reflection. You have become judgmental. You may be discriminating against those around you. Consider the people in your life that you may have prematurely judged.
To dream that you are racist is a representation of your strong will. You stand up for what you believe in.
For those who believe and dream of racism, it is simply a reflection of your belief system.