About the Button Color Generator
The Button Color Generator turns one brand color into a complete button style: the normal state, a darker hover state, a still darker active state, and a muted disabled state, with the text color (white or near-black) chosen automatically by whichever gives the better WCAG contrast ratio.
Buttons are the highest-stakes element in any interface β they are where conversions happen β so their text must be readable and their states must be visibly different. Copy the generated CSS and adjust the radius and padding to match the rest of your system.
Example
Start from the brand color #5B4BFF β that is rgb(91, 75, 255) or hsl(245, 100%, 65%). Load it in the tool above and you will see every value, preview and export update around it. Swap in your own project color and repeat the same steps.