Owning both, the Apple Studio Display XDR beats their PG32UCDM in most scenes, with minimal blooming and stunning brightness, though it costs 2.5x as much and won't work with a PS5.
“I must say. I am really impressed with the Studio display XDR. It really blows out the QD-OLED in over 90% of scenes.”