Not a perfect fit because that's impossible but both were affiliated to the Alliance of Liberals and Democrats (now "Renew" in the EU parliament). Both essentially are economically and socially liberal parties even if they place different emphasis on either part.
Either way, that's not the thrust of my argument.