I can confirm that on my system (Debian stable) with the latest st (just ran a git pull and rebuilt), that when i is 7, the color changes.
for i in `seq 0 255`
do tput setaf $i
tput sitm
echo -n $i ": Test it!"
tput ritm
echo "Test it!"
done
