I suppose you are a woman.
Wearing leggins will formally fulfill the prescriptions of traditional fiqh.
I understand the orders about clothing as a means for self-protection of the women. As such it's not absolute but it depends on the society you are living in. In a traditional Islamic society and in India your outfit with leggins will be seen provoking, ...
No, it is not permissible to wear tight clothes in front of ANYONE (except spouse), whether it's mahrams, same gender friends or anyone. The clothes must have three conditions:
•thick , to conceal the skin colour.
• loose, to conceal the body shape.
•long, to cover awrah and private parts.
Hope it helps :)