The conversion of solar energy into electrical and thermal energy in solar cells with dyes occurs in the visible part of the spectrum, where we see color with our eyes. Typically this is in the range of 400-600 nm. With a range of less than 400 nm, organic molecules are absorbed in the ultraviolet range.