Also, some very old computers had 36-bit words. Word sizes on modern computers are virtually always powers of 2, but it hasn't always been that way.
And octal is more convenient for output via 7-segment LEDs and for input via numeric keypads.