Large-scale multiconfiguration Dirac-Fock calculations of the hyperfine-structure constants of the 2s 2S1/2, 2p 2P1/2, and 2p 2P3/2 states of lithium.