However, a huge difference is that on CDs you're up against a fixed maximum (0 dBFS) so all peaks are equal, which is fatiguing; on vinyl you're up against the adjacent groove, so your maximum amplitude any given moment depends on the amplitude of things in the recent past and near future! Ways to optimize for this are prevalent, amazingly, and the result is less fatiguing.
Dire Straits - Brothers In Arms (1985 release, first CD to sell over a million copies) also sounds great, and IMO better than most modern releases.
Some early CDs were recorded using pre-emphasis, similar to the RIAA equalization used with vinyl records. CDs using this have a flag set in the metadata to tell the player to apply a matching de-emphasis filter. I sometimes see people blaming digital production for early CDs sounding "thin". I think it's more likely they heard rips of CDs using pre-emphasis that didn't have the proper de-emphasis applied.
An average CD from the 80s sounds better than an average CD from any other era, because it pre-dates the loudness war, and because it's intended to be played on a good home stereo (which if you were buying CDs back then you could probably afford).
There's also a noise floor that limits your dynamics.