The chemical formula of bleaching powder is CaOCl2 and its chemical name is calcium oxychloride.
The following reaction involves its preparation I.e. Passing Cl2 over slaked lime.
Ca(OH)2(s) + Cl2(g) -> CaOCl2(s) + H2O(l)