The electronic structure and optical properties of di[4-(4-diphenylaminophenyl)phenyl]sulfone (denoted as DAPSF), a highly efficient fluorophor, have been investigated using X-ray excited optical luminescence (XEOL) and X-ray absorption near edge structure (XANES) spectroscopy at excitation energies across the C, N, O K-edges and the sulfur K-edge. The results indicate that the blue luminescence is mainly related to the sulfur functional group.