We prove that it is possible to remotely prepare an ensemble of non-commuting mixed states using communication equal to the Holevo information for this ensemble. This may be used for distillation of ensembles of mixed states in an asymptotically lossless way, analogous to the distillation of entanglement for pure states.