Using BC327 instead of BC337 but not working as expected?

Can you post a link to your leds and are you wanting to use PWM for dimming?