We report a K2CaPO4F:Eu2+ phosphor with a new crystal structure. This phosphor has a large Stokes shift and converts near-ultraviolet light to red luminescence without absorption of other visible light. The mechanism was elucidated by applying a constrained density functional theory to the solved crystal structure.