Would these parts be compatible and/or work well together?

I am doing a major upgrade with the major parts and I am kinda confident they are compatible but I thought before buying them and paying nearly €300 I should get another opinion.

Chassis
Cooler Master Centurion 5 II - Mid tower - : RC-502-KKN1-GP - Komplett

Motherboard
MSI 870A-G54 - Motherboard - ATX - AMD 870 - : 870A-G54 - Komplett

Processor
AMD Athlon II X4 640 3GHz 2MB AM3 Box : ADX640WFGMBOX - Komplett

Ram
Kingston ValueRAM - Memory - 4 GB - DIMM 240-pin - : KVR1333D3N9/4G - Komplett

Thanks in advance for any help.

Yes. I see no reason they wouldn’t. You might see if MSI recommends any particular DDR3 sets, but otherwise, it looks like a solid start.