The hat is a symbol of the protection in some cultures they cover their head in order to avoid the badness. The hat that is stylish could indicate your desire to be noticed, perhaps you wish to be seen.

Getting into aristocratic society. 108.

It symbolizes something related to the ideas or behavior of the dreamer. Seeing hats but not wearing them, announces that you need to take some precautions. Wearing a hat, without wanting to take it off, means that you’re trying to keep a secret that you don’t want to share. Dreaming of wearing a ridiculous hat, could be a warning of some personal attitude that others see as ridiculous but we do not realize that we have it.