It’s typically the OOS crowd that are wealthier, whether at UCs or at Boulder, UW etc (obviously, since they are prepared to pay more).
Willingness/ability to pay definitely affected college choices when people went OOS, for example Utah has all the outdoor lifestyle of Boulder (and fairly comparable admissions), but is far cheaper. So it was a very different set of students at our high school that chose Boulder vs Utah.