Is it okay to keep on touch if your family member is racist or prejudice?

Do you think it’s okay to speak to a family member if they’re racist, prejudice? Or would you cut them off based off your beliefs? This could be your mother father anyone that is related to you. Again strictly talking about family here.

If people were to find out that your family member was racist and prejudice, knew you were still in contact with them, would you understand if they didn’t feel comfortable speaking to you anymore?