@kate Not nearly as beautiful as your nicely crafted palette, but if anyone wants dynamically generated palettes of any size of maximally distinguishable colors (to the human eye), I wrote this JavaScript library:

npmjs.com/package/maxichrome

Image example is palettes of 12 for three cases
* colors that contrast with black text
* colors that contrast with white text
* colors, irrespective of what the text color is