Little update here: I did some testing on my PSU and figured out it wasn't overheating but somehow the power switch on it was going too far into the on state to the point where it was turning itself off. Corsair is replacing it under warranty so the issue should be fixed.
Over the past week my PC has been randomly turning off, this doesn't only happen when underload sometimes it happens when I am just watching youtube. Looking at my temps my GPU is normally staying below 40c when not under load and below 70c when under load, cpu is normally below 50c when idle...