Characterization of the Low-Mass Companion HD 142527 B