Formal:
* Vous avez les cheveux longs. (This is the most literal translation, and it's the most formal way to say it.)
* Vos cheveux sont longs. (This is also a formal way to say it, slightly more natural than the first option.)
Informal:
* Tu as les cheveux longs. (This is the informal way to say it, using the informal "tu".)
* Tes cheveux sont longs. (This is also an informal option.)
You can also use the word "chevelure" instead of "cheveux" to refer to hair, which gives a slightly more poetic or literary feel:
* Vous avez une longue chevelure. (Formal)
* Tu as une longue chevelure. (Informal)
Remember to choose the appropriate form of "vous" or "tu" depending on the level of formality and your relationship with the person you are talking to.