This paper explores the Bohr Hamiltonian with a newly introduced generalized form of the sextic potential in the ββ-part of the nuclear potential. The generalized sextic potential proposed in this research is based on hyperbolic functions and is characterized by parameters a, b, c, d, and ηη. It is quite versatile and reduces to several well-known potential models of physical interest, making it particularly rich for nuclear structure studies. We employed the extended Nikiforov–Uvarov method and confluent Heun equation to obtain analytical solutions of the ββ-part of the Schrödinger equation for the Bohr Hamiltonian, with the Greene–Aldrich approximation scheme applied to the centrifugal barrier term. The results of calculations are employed to study the energy spectra and electric quadrupole transition rates of 128128Xe, 130130Xe, 132132Xe, 134134Xe, 192192Pt, 194194Pt and 196196Pt atomic nuclei. Our model successfully reproduces experimental data of the isotopes under investigation, demonstrating good agreement in energy spectra and B(E2)B(E2) transition rates. Based on the significance of the parameter ηη, the generalized sextic potential provides a valuable tool for studying various unexplored potential models and transitions in nuclear structure, with potential applications in identifying new states of triaxial nuclei.