A continuous process to separate color bodies and/or asphalthenic
contaminants from a hydrocarbon mixture by passing part of the
hydrocarbon mixture through a membrane over which membrane a pressure
difference is maintained thereby obtaining a hydrocarbon permeate having
a reduced content of color bodies and/or contaminants, wherein at regular
time intervals the pressure difference over the membrane is substantially
lowered.