Are there any spells that can make a light so bright, you have to look away or else you can't really see anything?
I have read through all the spells in the PHB and not found one that obviously does what I want. I think illusion spells might be able to, but I haven't found one that seems obviously capable of the effect I want — spells like major image explicitly say it can't produce temperatures extreme enough to cause pain, our sound loud enough to deafen, or a smell so pungent so as to sicken. It doesn't say anything about luminescence, but it does seem like it's in that alley.
Are there other spells that can produce an effect that produces a blindingly white light that compels you to close your eyes rather than inflicting the Blinded condition on you? This discounts spells such as blindness/deafness that directly target someone. I'm after spells sort of like, but not exactly, pyrotechnics, if it was a longer duration spell — in other words, those that can make a really, really bright light.