SPSDPSDesign & Creative Tools

How to Choose a Website Color Palette

A step-by-step approach to building a balanced, accessible color palette for any website or app.

Color & palettesBy Devendra Pratap Singh·2 min read·

Key takeaways

  • Start with one primary brand color and derive the rest from it.
  • Use the 60-30-10 rule to balance neutrals, secondary and accent colors.
  • Test contrast before finalizing, including dark mode.

Start with one brand color

Pick a primary color that reflects your brand and the feeling you want, such as trust, energy or calm. It becomes your main action color for buttons and links.

Choose a harmony

Generate supporting colors using color relationships: analogous colors sit next to each other for a calm look, complementary colors sit opposite for contrast, and triadic colors give a lively, balanced mix.

Apply the 60-30-10 rule

Use a neutral for about 60 percent of the interface, a secondary color for about 30 percent and your accent for about 10 percent. This keeps designs balanced and makes calls to action stand out.

Build tints, shades and neutrals

Create lighter and darker steps of your primary color for backgrounds, borders and hover states. Tint your grays slightly toward your brand hue so the interface feels cohesive.

Add semantic colors

Define clear colors for success, warning, error and information. Pair each with an icon or text so meaning never depends on color alone.

Test before you ship

Check every text and background pair against WCAG contrast, preview the palette on real pages and view it with a color blindness simulation. Document the final values as CSS variables.

Frequently asked questions

How many colors should a website palette have?+

Most sites work well with one primary color, one accent, a set of neutrals and a few semantic colors.

What is the 60-30-10 rule?+

It is a proportion guide: 60 percent dominant neutral, 30 percent secondary, 10 percent accent.

Try these free tools