The total power dissipation of the entire circuit, exceeding the maximum rating of the BJT is not normally problem, as only a small amount of power will be dissipated by the BJT. The rest should be dissipated by the LEDs and current limiting resistors.
The BJT needs an appropriate base resistor and the LEDs, the correct current limiting resistor(s).
As mentioned above, the LEDs should be connected in series or a lower power supply voltage used, for maximum efficiency.