On a website, every color has a job: background, text, buttons, links and alerts. These 12 palettes are built for that, with a light or dark background, a readable text color and an accent for buttons. Copy the hex codes straight into your CSS or website builder.
Clean SaaS blue
Near-white background, very dark blue text and bright blue buttons.
Understated corporate
For law firms, consultancies or industrial companies.
Warm ecommerce
Orange makes the buy buttons pop on a warm background.
Dark mode with green
Layered dark backgrounds, light text and a green accent for actions.
Natural and organic
For natural product shops, farms or wellness brands.
Friendly pastel
Approachable; the dark blue-gray keeps text readable.
Editorial with red
For blogs, magazines and media; red marks links and headlines.
Tech purple
Common in digital products, online courses and AI tools.
Turquoise and coral
Two complementary accents: one for buttons, one for alerts.
Dark luxury
For hotels, restaurants or premium brands where photos lead.
Health and wellness
Clean and calm; good for clinics and therapy practices.
Sand and teal
Warm yet serious; for travel, real estate or coffee shops.
Tap a color to copy its hex code. The pencil icon opens the palette in the editor so you can change it.
Use the dominant color (usually the background) on about 60% of the page, a secondary color on 30% (sections, cards, header) and the accent on the remaining 10%. Save the accent for buttons and links so users know where to click.
Check your text contrast
The WCAG accessibility guidelines call for a minimum contrast of 4.5:1 for normal text. Light gray on white looks elegant but is hard to read, especially on a phone in the sun. Run a contrast checker before you publish.
Set colors for states and alerts
Besides your brand palette, a website needs colors for errors (red), success (green) and warnings (yellow or orange). Pick versions that go with your palette and use them consistently in forms and messages.
Three or four is usually enough: a background, a text color, a main color and an accent, plus your alert colors.
What's the best color for website buttons?
There's no single best color; what matters is that the button contrasts with the background and that the color isn't used for anything else on the page.
How do I add a color palette to my website?
Copy the hex codes into the color variables in your CSS or into the global color settings of your site builder, like WordPress, Wix or Shopify.