How do I build an accessible color palette? I usually start with my default color.
Then, I'm trying to make sure that I can always use the dark shade, with a light shade, with enough contrast for text on background (4.5:1).
I used to do this manually, meaning that I will go into the color picker, and tweak the color, until I get something I like. Then, check the contrast.
Recently, I found a very nice Figma plugin that lets me streamline this process: Figma color ramps https://www.figma.com/community/plugin/1482371446196684379/color-ramp-generator
If you have a fediverse account, you can quote this note from your own instance. Search https://front-end.social/users/stephaniewalter/statuses/114512092569615889 on your instance and quote it. (Note that quoting is not supported in Mastodon.)