W8 Kensington: why this London postcode has the number 8

Kensington is W8 because of the alphabet. W2 is Paddington, a district office, and in the Post Office's list of March 1917 the offices after it follow by name: Kensington comes after Hanwell (W7) and before Maida Hill (W9).
See W8 on the map