From خَلَصَ (ḵalaṣa, “to be pure”).
Practice speaking and memorizing "إخلاص" and many other words and sentences in Arabic.