Theme generator with WCAG contrast auditing

ThemeGen is a visual theme generator for creating accessible color palettes, live at themegen.dev. Pick your colors, see them applied to a real site preview in real time, and export production-ready code. Every palette is audited against WCAG contrast standards before you ship it.
No more guessing if your colors work together. No more failing accessibility audits after the fact.
Picking colors for a website sounds easy until you're three hours in, juggling hex codes between Figma, a contrast checker, and your code editor. Existing tools focus on either aesthetics or accessibility — never both. I wanted beautiful themes that are guaranteed accessible.
ThemeGen is built with Next.js 15, React 19, and Tailwind v4. The entire app is a live playground — every color change instantly updates a full site preview so you can see exactly how your palette looks in context. Chroma.js handles all the color math, and contrast auditing runs continuously as you adjust.
The landing page features a bento grid layout with Paper Design shader backgrounds for a polished, modern feel.
Built on Next.js 15 with the React 19 compiler and Turbopack for fast development. Tailwind v4's CSS-first configuration keeps the styling system lean. Color calculations use Chroma.js for perceptually uniform manipulation — important for generating palettes that actually look good, not just mathematically balanced.
The URL sharing system encodes the entire theme state into query parameters using a compact scheme, keeping URLs shareable while preserving every color and setting. The contrast auditing engine runs on every color change with zero perceptible delay. Paper Design shaders power the visual effects on the landing page bento grid, adding depth and motion without impacting performance.