If some, but not all, targets for Vivid Revival become illegal, the remaining targets are returned to your hand and Vivid Revival is exiled. If all of its targets become illegal, Vivid Revival doesn’t resolve and it’s put into your graveyard.