As a 'pars pro toto' (=a part representing the whole), rays usually represent the sun. They represent divine effulgence, divine favor.

In esoteric literature, different rays - seven of them, each with their own colour - are believed to be emanations and/or representations of aspects of the Divine. For more information, see Lords of the Seven Rays.