Rare Candies don't give Pokemon any EVs whatsoever, so the Pokemon's EVs will stay uneffected when you use the item. Therefore if you had a Pokemon with its EVs appropriately maxed out, Rare Candies full-on until Lv. 100 should be safe, unless you use one of the Berries that decrease EVs.