What counts as midrange nowadays? TOTL i5 or Ryzen 5?

I'm trying to put together a budget gaming PC. I'm looking at an i5 with 8gb of RAM for now and an SSD. For video I'll go with the 8gb RX570 which reviews say outperforms the RTX1060. Without a monitor these specs top out at a little over 30k. I think this gives me a bit of headroom for further upgrades. It should be able to play CS:GO and GTA at competitive FPS rates.