It depends where in London you intend to stay, but a National Express coach would take about two hours. There are also trains and of course taxis and private hire. Do plan to arrive at Southampton docks in plenty of time, though, as you may well get caught up in traffic jams.
If you care to post your question also on the Destinations board, under Europe you may get more information.
Hope this helps a little.