Both the Motherboard and the CPU shares the same 'Socket' and RAM specs, therefore they are tottaly compatible
CPU and Mobo Socket: LGA 1151
CPU and Mobo RAM: DDR4
With those being the same, you can rest assured that they will work perfectly together