  We introduce and study a number of invariants of locally compact quantum
groups defined by their scaling and modular groups and the spectrum of their
modular elements. Focusing mainly on compact quantum groups we consider the
question whether triviality of one of the invariants is equivalent to the
quantum group being of Kac type and show that it has a positive answer in many
cases including duals of second countable type $\mathrm{I}$ discrete quantum
groups. We perform a complete calculation of the invariants for all
$q$-deformations of compact, simply connected, semisimple Lie groups as well as
for some non-compact quantum groups and the compact quantum groups
$\operatorname{U}_F^+$. Finally we introduce a family of conditions for
discrete quantum groups which for classical discrete groups are all equivalent
to the fact that the group is i.c.c. We show that the above mentioned question
about characterization of Kac type quantum groups by one of our invariants has
a positive answer for duals of discrete quantum groups satisfying such an
i.c.c.-type condition and illustrate this with the example of
$\operatorname{U}_F^+$.
