It sounds like a bruise.
This can happen with minor trauma during sleep.
Like most bruises, it will change colors and go away in 1-2 weeks.
If you worsens, causes your eyelids to swell shut, cause double vision or eye pain, then you should consult with your doctor.
Please remember to press the ACCEPT button so I can get credit for assisting you today.