Is there a figma equivalent of colour knockout?

Hi folks. I’ve created a component library that in simplistic terms contains a primary colour. In some areas of the build it called for lighter or darker versions of this colour that runs over backgrounds. If I use percentages of the primary it gets affected by the background colour showing through so I’ve had to eye drop the percentage colours against white and then add these as new colours to the library. The more colours, the more complex the library, plus this library needs to be duplicated and have colours changed for different builds.

Is there a figma equivalent to what in the print world is called knockout so that percentages of colours knockout the background colours and are not affected by them?