I think vinyl keeps the whole waveform (more or less) intact.
Redbook CD samples at 44 khz, woefully less than needed to accurately reproduce 20khz waveforms.
Now 96khz sampling is closer to what is really needed, and hi-rez formats IMO can sound very very good.
The other piece is poor implementation of CD player dacs and output stages.
Here is where good digital players that do it right, can really come close to vinyl performance,
and hi-rez units done right are on par, when the source material is good.