I now work in a completely different part of tech (from web/mobile SPA dev to embedded dev doing defense work) and make more than I was making in the Bay Area. I live relatively comfortably in a gated community, but I honestly cannot stand the weather here. It is so bad that it is affecting me mentally to the point where I think I have mild Seasonal Affective Disorder. The Bay Area had some financial hardships, but the weather was nice, and I wasn't dreading six months out of the year like I am living here. I was healthier there thanks to always jogging outside in the awesome weather, the scenery was better, the roads were better, the food was nicer, there was more intermixing of different cultures and values... I'm looking to head back to the west coast, or maybe even the southwest, but family reasons are keeping me here for the time being and preventing me from moving.
You didn't really list why you're asking this question. If it's purely monetary-based, sure, you can possibly do better elsewhere. However, I have found that it easily has a hard salary cap real quick. I haven't come across many people who make more than $160k all in after they worked 20+ years in the industry, and the area I live in pays higher than other Midwest areas. Housing prices are quickly getting into the $400k+ for nice houses, and the price of a lot of goods is very similar I have found (most big purchases like laptops, cars, TVs, etc are the same whether you're in CA or in the Midwest. The main difference is the tax. I actually pay more for car insurance here than back in the Bay Area). Utilities are basically the same, it seems, so that didn't go down. Internet price is the same, too, and those cost of living calculators don't always tell the whole story. It's just some stuff to keep in mind if you plan on moving for solely monetary reasons.