Iterating on an accessible color palette creator, for custom Tailwind-style palettes of multiple swatches, where you can check your colors have sufficient WCAG/ACPA color contrast on a live UI mockup. You can export the colors for use with Tailwind, CSS, Figma, and Adobe.
I started working on this because for design projects I was almost always getting handed brand style guides that were missing thought into accessible colors pairs and lacked tints/shades, where I had to fill in the gaps. There's lots of color tools out there, but this supports multiple swatches, checking the contrast of multiple color pairs at the same time and the HSLuv based color picker makes it easier to explore accessible colors.
It's really only usable on desktop right now but I'd love any feedback good or bad on if it's useful and what to work on next! There's actually a lot of directions to go in, and it's tricky to balance more features with keeping it simple. Some tips:
- The "Load examples" menu in the top-left lets you compare the colors from Tailwind, IBM Carbon and United States Web Design System.
- The "contrast" menu lets you see how WCAG 2 contrast checks compare against APCA when "vs black/white" is turned on. WCAG 2 has known inaccuracies, especially for dark mode. APCA is the candidate contrast method for WCAG 3 that's meant to improve on this.
- Use the "..." menu to create a swatch based on a brand color.
- Use the "..." menu to "flip to dark/light palette" to create a dark theme. Or just manually flip the lightness curves horizontally.