Click to see a demo.
We've an heatmap like the one linked above.
We use #CAE3DF, #B5BFCD, #9F9EBC, #8B7FAC, #76609B, #61478C, and #4F2F7D as background color, and do not set any data label color, so that as stated in the documentation, highcharts can use the color with maximum contrast.
We saw that highcharts uses Black text only for the first two colors #CAE3DF, and #B5BFCD - but it would have been better to use Black also on #9F9EBC and #8B7FAC.

We used this tool to grade the color contrast.
Click to see a demo.
We've an heatmap like the one linked above.
We use
#CAE3DF,#B5BFCD,#9F9EBC,#8B7FAC,#76609B,#61478C, and#4F2F7Das background color, and do not set any data label color, so that as stated in the documentation, highcharts can use the color with maximum contrast.We saw that highcharts uses Black text only for the first two colors
#CAE3DF, and#B5BFCD- but it would have been better to use Black also on#9F9EBCand#8B7FAC.We used this tool to grade the color contrast.