If only I found this component earlier! This Figma component designed by Tom Reinert will help you to design accessible forms: its initial contrast ratio is Level AA and has easily recognizable states.
Stark now offers a new feature in its plug-in for Sketch and Figma that
stimulates blur vision - astigmatism, presbyopia, dry eye syndrome, cataracts,
glaucoma and age-relation macular degeneration.
This option is available in the pro version of the plug-in for $60/yr.