A typical salary (9 month appointment + 2 months of summer salary) is 110k-140k. Summer salary is dependent on getting grants though. Plus you get a “startup account” to cover travel, equipment, and student salaries. State workers may also get nice benefits like a pension.
So, as a CS prof you actually live quite well except in big cities. From my survey, prof salaries don’t scale with expensive cost of living areas.