87654321 in words is written as :

Million Thousand Three Hundred and Twenty One