It is not Spanish but French, where charme means "charm". It is used in Spanish when we refer to someone, for its quality as charming as well as elegant and classy.
It is a word of the French language, meaning charm, sympathy or spell.
CHARME galicism by charm, sympathy