|This study presents a spatially-resolved optimisation model to assess cost optimal configurations of hydrogen supply chains for the transport sector up to 2050. The model includes hydrogen grades and separation/purification technologies, offering the possibility to assess the effects that hydrogen grades play in the development of cost-effective hydrogen supply chains, including the decisions to repurpose gas distribution networks or blending hydrogen into them. The model is implemented in a case study of Great Britain, for a set of decarbonisation and learning rate scenarios. A base case with a medium carbon price scenario shows that the total discounted cost of the hydrogen supply chain is significantly higher than shown in previous studies, largely due to the additional costs from purification/separation needed to meet hydrogen purity standards for transport applications. Furthermore, it was shown that producing hydrogen from steam methane reforming with carbon capture and storage; installing new transmission pipelines; repurposing the gas distribution network to supply 100% hydrogen; and purifying hydrogen with a pressure swing adsorption system locally at the refuelling station; is a cost optimal configuration for the given technoeconomic assumptions, providing hydrogen at 6.18 pound per kg at the pump. Purification technologies were found to contribute to 14% and 30% of total discounted investment and operation costs respectively, highlighting the importance of explicitly including them into hydrogen supply chain models for the transport sector.