<?php echo get_term_by('id',get_queried_object()->parent,get_queried_object()->taxonomy)->name ; ?>
$category_pars = get_term_by('id',get_queried_object()->parent,get_queried_object()->taxonomy);
$category_link = get_category_link($category_pars->term_id);
echo '<a href="'.$category_link.'">'.$category_pars->name.'</a>';