The Ryobi is the better everyday buy unless weight or a single-tool EGO setup matters more.
Both blowers use brushless motors, a variable-speed trigger, and a dedicated turbo button for maximum output. The Ryobi 40V HP Brushless Whisper Series pulls ahead for most buyers because it moves more air (730 CFM versus 650 CFM) at a higher top speed (190 MPH versus 180 MPH), runs quieter at a rated 57 dB against EGO's 64 dB, and ships with two 4.0 Ah batteries plus a rapid charger instead of one, so you are not stuck waiting on a recharge mid-yard.
EGO Power+ LB6504 is still the right call if a lighter, more compact tool matters more than raw output. Its bare-tool weight of about 4.77 lbs beats the Ryobi's 6.4 lbs, which is noticeable during long one-handed sweeps, and its 56V battery slots into an existing EGO 56V tool lineup rather than starting a new 40V ecosystem. The trade-off is less airflow, a louder motor, and only one battery in the box.