From Kepler’s third law, the square of the time period of a planet is proportional to the cube of the radius of its orbit:
\[
T^2 \propto R^3 \Rightarrow R \propto T^{2/3}
\]
Now, orbital velocity \( v \) is given by:
\[
\begin{align}
v = \frac{2\pi R}{T} \propto \frac{R}{T} \propto \frac{T^{2/3}}{T} = T^{-1/3}
\]
Let \( T_A = 8T_B \). Then the ratio of velocities is:
\[
\begin{align}
\frac{v_A}{v_B} = \left(\frac{T_A}{T_B}\right)^{-1/3} = (8)^{-1/3} = \frac{1}{2}
\]
So, the ratio of orbital velocities of A to B is \( \boxed{1:2} \).