If there is a water filter that puts fragrance into the water in small quantities, does ghusl with such water become invalid?

If the quantity of the fragrance is very minimal, that it does not effect the purity of the water, and changes it to added water, although there is a smell in it, then,, there is no problem in performing wodu or ghusl with it.