Optical and scintillation properties of Ce-doped KMgF3 crystals have been studied. At least three types of emission centers were found, depending on the dopant concentration. One such center type having 355 nm emission and 27 ns decay time provides the scintillation yield of KMgF3(Ce) crystals comparable to that of pure CsI crystals. The doping of KMgF3 crystals by Ce or La ions has been shown to result in the radiation damage suppression.