However, the verb "is", which is immediately after "purpose", has a strong influence to keep the word in singular form.
it may be better not to use a verb that the word is not immediately dependent on as a feature.