How to preview website colors before development
Start with a background and a readable text color. Use primary for your main call-to-action (CTA), accent for supporting highlights, surface for cards and border for edges and form fields. Each role is an editable HEX value, with a separate palette for light and dark themes.
Check contrast, not only appearance
- Choose six roles. Preview the header, CTA buttons, cards, form fields and notices in four layouts: landing page, dashboard, store and sign-in screen.
- Compare themes and screen sizes. Switch between light and dark modes, view both at once and inspect the narrow phone simulation.
- Review WCAG. Text pairs are checked against a selectable 4.5:1 AA or 7:1 AAA target. Visual cues including relevant borders are separately measured against a 3:1 reference when distinction is important.
- Export to implement. Download CSS custom properties or JSON for both modes, then integrate them into your own components and test hover, focus, disabled and error states.
Contrast calculations use the shared Contrast Checker. You can also build a palette in the Palette Generator or create a broader semantic token set in the Brand Color System Generator.
The previews are examples, not a live rendering of your own website. Visual checks and WCAG results do not imply WCAG certification.