You can style your out of stock variations with a different text colour from in stock variations. To do so:
- Go to WooCommerce > Settings > Better Variations
- Check the option to ‘Enable Select2’
- Use the colour picker fields for ‘In stock text colour’ and ‘Out of stock text colour’ to decide what text colours to use