#8B5CF6
A complete purple color system ready for production. See the live palette below — background, surface, primary, accent, text colors, and button states — all generated automatically with dark and light mode support.
Purple communicates creativity, luxury, and innovation. It's the go-to color for brands that want to feel premium without being corporate. A purple-based system works beautifully for creative tools, design platforms, gaming, and any product targeting a younger, design-conscious audience.
A purple color system is ideal when you need to convey creativity, luxury, and innovation. It works especially well for SaaS dashboards, landing pages, and any interface where users spend extended time. The key is having properly calibrated shades — not just one hex, but a complete system with background, surface, text, border, and interactive states that all work together harmoniously.
Pick a base color and get a production-ready CSS token structure. No account needed.
Generate my color systemIn light mode, purple works as a strong accent against white and light gray backgrounds. Text contrast is achieved with dark grays. In dark mode, the purple primary needs to be slightly desaturated to avoid eye strain on dark surfaces. Our generator handles these adjustments automatically — surface colors get darker, text colors flip to light, and the primary accent adapts its brightness for optimal contrast in both modes.
The generated CSS variables integrate seamlessly with Tailwind CSS. Paste the variables into your globals.css under :root (light) and [data-theme="dark"] (dark mode). Then reference them in your Tailwind config or directly in your classes: bg-[var(--color-background)], text-[var(--color-text-primary)], border-[var(--color-border)]. For Tailwind v4+, you can use @theme to map them to custom utilities. This gives you a consistent purple-based design system without fighting Tailwind's default palette.
After generating your color system, you get a CSS file with all variables defined for both light and dark modes. Simply paste the :root block into your project's global CSS file. The variables use semantic names (--color-primary, --color-surface, --color-text-muted, etc.) so they're self-documenting. You also get an HTML example file showing all the tokens in use, which serves as a reference for your team.
Pick a base color and get a production-ready CSS token structure.
One-time payment · $5.00
See how your color looks in action
#ebe9f2
Secondary text (text-muted) — descriptions, placeholders, captions
#aeabb3
Buttons
This is how content will look inside a card
Background
--color-background
#111012
Surface
--color-surface
#1c1c1f
Primary
--color-primary
#895bf5
Accent
--color-accent
#ccb96c
Primary Hover
--color-primary-hover
••••••
Primary Disabled
--color-primary-disabled
••••••
Text Primary
--color-text-primary
••••••
Text Muted
--color-text-muted
••••••
Text on Primary
--color-text-on-primary
••••••
Text on Accent
--color-text-on-accent
••••••
Border
--color-border
••••••
Focus Ring
--color-focus-ring
••••••
Generate your custom system
Unlock all 16 tokens + dark/light export
One-time · $5