I use wraparound cable labels[0] which seem to work ok (although do end up sliding up and down the cable to some extent.)
[0] e.g. https://www.amazon.co.uk/dp/B0FQTX4MPL