is 250w ebike powerful enough for hills?

hello all,
now a days in India most of the electric cycles being sold from different brands are using 250w rear hub motor. Other few models which use 350w or 500w are very costly. so my question is, for climbing hills on paved roads is 250w hubmotor have enough power? the specs say about 45Nm of torque max for 250w motor. when I say hills example includes hills of western ghats in Karnataka or Ooty. Also hills of Uttarakhand for example. I am not looking for offroading.