Elastic and inelastic scattering of [Formula: see text]-particles at 48.1[Formula: see text]MeV and 3He at 60[Formula: see text]MeV on [Formula: see text]O nuclei has been measured with excitation of states at 6.05 (0[Formula: see text])–6.13 (3[Formula: see text])[Formula: see text]MeV, 6.92 (2[Formula: see text])–7.12 (1[Formula: see text])[Formula: see text]MeV and 8.87 (2[Formula: see text])[Formula: see text]MeV. The center-of-mass beam momenta are the same for these two strongly absorbed particles. Analysis of angular distributions was performed in the frameworks of the optical model, the coupled channels method and the Distorted Wave Born Approximation (DWBA). A good description of experimental data was obtained over the full angular range without taking into account the spin-orbit interaction and the cluster transfer mechanism with real potentials that have volume integrals of about 400[Formula: see text]MeV fm3. Collective and microscopic models were used in the analysis of the inelastic scattering. The values of the octupole deformation lengths were extracted. It is shown that nuclear rainbow effects appear not only in the elastic, but also in the inelastic scattering with excitation of the 3[Formula: see text] state of [Formula: see text]O.