Oil prices rose as much as 6 percent on Wednesday on a report OPEC members have reached a deal to limit crude supply.