The 30-share Sensex ended up 43 points at 19,348 and the 50-share Nifty closed 18 points higher at 5,889.
In Asia, Shanghai Composite and Hang Seng closed 0.2-0.8% higher.
However, most other indices slipped lower as some weak global manufacturing data contrasted with earlier numbers showing improvement at Chinese factories. Nikkei, Straits and Kospi ended down 0.1-0.3% each.
Stocks in Europe firmed up after a mixed start on Tuesday amid discouraging US November manufacturing data. The CAC-40, FTSE-100 and DAX were up 0.2-0.6% each.
The sectoral indices on the BSE were led by Oil & Gas Index followed by healthcare and realty.
However, Auto, IT and Capital Goods and COnsumer Durables were the top losers on profit taking after recent gains.
Index heavyweight- Reliance Industries was up 2.5% at Rs 824 on reports that the oil ministry may approve the company's investment plans for the KG-D6 block. State-owned ONGC closed 1% higher.
In the financial space, ICICI Bank ended up 1.5%, SBI ended 1.6% higher while HDFC ended up 0.6%.
Tata Power Company ended higher by 4% at Rs 112 on reports that the Tata Group firm will sign agreement with Jharkhand State Electricity Board (JSEB) on Wednesday, December 5.
However, Mahindra & Mahindra has slipped 1.8% to end at Rs 939. TCS ended down 1.2% while FMCG majors ITC and HUL ended down 0.4-0.6%
'Outlook for India's banking system is negative'
BSE's new chief faces a tough task
Gujarat govt demands resignation of Governor Dr Kamla
ONGC's acquisition of Kashagan oilfield will raise debt
Money-laundering charges: Mahindra Satyam gets notice