The first n ->pi(*) transitions of 18 nitroso and 16 thiocarbonyl dyes have been computed by time-dependent density functional theory (TD-DFT) using pure as well as global and range-separated hybrid functionals. It turns out that the accuracy of all hybrids is relatively similar, i.e., the inclusion of a growing fraction of exact exchange does neither worsen nor improve significantly the raw TD-DFT estimations. However, after a simple linear regression, it appears that the range-separated hybrids provide a better accuracy than global hybrids. (C) 2007 American Institute of Physics.