The invention relates to novel cationic benzoxazine-based compounds of formula (I) below, in which •R represents a hydrogen atom or a C1-C4 alkyl or C1-C4 hydroxyalkyl radical, •—R2, R3, R4 and R5 independently represent: —a hydrogen atom, —a linear C1-C4 or branched C3-C4 alkyl radical, optionally substituted with a hydroxyl radical, •L represents a linear or branched, saturated C1-C30 hydrocarbon-based chain, •CAT+ represents a cationic radical chosen from: —a cationic heterocyclic radical comprising 5 to 8 ring members containing at least one heteroatom chosen from O, N and S, —a tri(hydroxy)(C1-C4)alkylammonium radical, —a non-cationic heterocycle comprising 5 or 6 ring members containing at least one heteroatom chosen from O and N, such as pyrrolidine, substituted with a cationic radical, An− represents an anion or a mixture of anions which are organic or inorganic and are cosmetically acceptable.