(For a Reuters live blog on U.S., UK and European stock markets, click or type LIVE/ in a news window.)

* Private payrolls growth softer than expected

* HP falls on trimming FY profit outlook

* Visa, Mastercard rise on report cos to raise credit card fees

Aug 30 (Reuters) - The S&P 500 and Nasdaq closed higher on Wednesday as fresh economic data signaled a cooling U.S. economy, reinforcing expectations the Federal Reserve will pause rate hikes in September.

The S&P 500 index reached its highest in nearly three weeks after an ADP National Employment report showed private payrolls increased by 177,000 jobs in August, compared with estimates of 195,000, suggesting a softening labor market.

Fresh gross domestic product numbers showed the U.S. economy expanded 2.1% in the second quarter, slower than a preliminary estimate of a 2.4% growth.

"Somewhat softer employment data is easing investor concerns for future Federal Reserve interest rate hikes," said Rob Haworth, a senior investment strategist at U.S. Bank Wealth Management.

The prospect of a "softer landing" for the U.S. economy also supported demand for growth stocks and other riskier assets at the expense of defensive stocks, Haworth added.

Mastercard and Visa gained after a report said the companies were preparing to raise credit card fees.

HP Inc tumbled after the personal computer maker trimmed its annual forecast due to slowing demand.

Traders' bets on the Fed leaving interest rates unchanged in September stood at nearly 89%, up from 86% the day before, while bets of a pause in November rose to 54% from about 52%, the CME Group's FedWatch tool showed.

U.S. Treasury yields slipped to a near three-week low, with the 10-year yield last at 4.12%.

Unofficially, the S&P 500 climbed 0.39% to end the session at 4,515.00 points.

The Nasdaq gained 0.54% to 14,019.31 points, while Dow Jones Industrial Average rose 0.11% to 34,890.77 points.

Chipmaker Nvidia, Alphabet and Apple gained.

Investors are now looking to the personal consumption expenditures price index, the Fed's preferred measure of inflation, and non-farm payroll numbers due on Thursday and Friday, respectively, for more clues on interest rates.

Trading activity has been light this week ahead of the U.S. Labor Day holiday on Monday.

Brown-Forman fell after the Jack Daniels whiskey maker missed its first-quarter sales and profit estimates. (Reporting by Shristi Achar A and Amruta Khandekar in Bengaluru and by Noel Randewich in Oakland, Calif; Editing by Savio D'Souza, Vinay Dwivedi and Richard Chang)