10 Beautiful Website Color Palettes (With Hex Codes)
Ten palettes you can paste straight into a project, each with four hex codes and — more usefully — the contrast ratio of the brand color, so you know before you build whether it can carry white text. Four of the ten cannot, which is the single most common way a good-looking palette turns into an unreadable interface.
How to read each one
Each palette below fills four roles, because four is roughly the minimum a real interface needs and about the maximum you can choose by eye. (The one dark-first palette swaps ink for surface and carries a second accent instead.)
- Ink — the darkest value. Body text, headings, dark surfaces.
- Brand — the primary action. Buttons, links, the one thing you want clicked.
- Accent — highlights, charts, illustration. Small doses only.
- Surface — the page background and card fills.
Every ratio quoted is computed with the standard WCAG relative-luminance formula. AA needs 4.5:1 for normal text and 3:1 for large text and UI components; you can re-check any pair yourself in the contrast checker.
The ten palettes
Minimalist Neutrals
The default for documentation, dashboards, and anything that should get out of the way. Ink on surface is 16.98:1, so body text is never in question, and #374151 takes white labels at 10.31:1. It has no accent at all, which is the point — add exactly one.
Luxury Golds
Near-black with a warm cream surface and a single metallic. #D1B054 is a light gold: 2.09:1 with white against 10.05:1 with black, so it needs dark text and works best as a hairline border or a small mark rather than a fill. The cream #F4EBDC against #0B0B0E is 16.63:1.
Vibrant Neon
Built for dark backgrounds, so the near-black is the surface rather than the ink. #7C3AED carries white text at 5.70:1, but against the #111111 page it is only 3.31:1 — enough for a UI shape, not enough to be subtle about. Cyan and amber are accents, not fills: 1.81:1 and 2.15:1 with white respectively.
Fresh Greens
A wellness and sustainability palette. The trap is #10B981: white text on it is 2.54:1 and fails outright, while black text is 8.28:1 and passes easily. Use the dark #064E3B for any green surface that has to carry white.
Calm Blues
The safest palette here and the reason half the web looks like this. #2563EB is 5.17:1 with white, so it works as a primary button straight out of the box, and the #EFF6FF surface makes a natural hover tint for links.
Warm Sunset
Orange reads as energetic and urgent, and it is the hue most often used wrong: #F97316 with white text is 2.80:1 and fails, with black text 7.49:1 and passes. Orange buttons want dark labels, or a much darker orange.
Steel & Sky
A quieter cousin of Calm Blues for interfaces where the brand should not shout — admin tools, internal software. The gray #4B5563 takes white at 7.56:1, and #60A5FA is bright enough to mark the one action that matters.
Berry Pop
Consumer, playful, and deliberately loud. #EC4899 sits at 3.53:1 with white — fine for large text and UI shapes, not for body copy. The deep violet ink keeps the whole thing from tipping into novelty.
Earth & Clay
Warm, grounded, and good for food, craft, and outdoor brands. #B45309 is the useful find here: at 5.02:1 with white it is one of the few genuinely warm colors that passes AA as a button fill.
Charcoal & Mint
Charcoal structure with one cool accent, common in fintech and developer tools. #6B7280 clears AA with white at 4.83:1 with nothing to spare. The mint #34D399 is a success state and a highlight, never a fill for white text — 1.92:1 there, against 10.92:1 with black.
A worked example: turning Calm Blues into tokens
Four hexes are a starting point, not a design system. A real interface needs several steps of the brand hue — a resting button, a hover, a pressed state, a border, a tinted background. Take #2563EB into the tint and shade generator and you get the whole ramp; the steps you actually need are these:
:root {
--ink: #0F172A; /* body text, 17.85:1 on --surface */
--brand: #2563EB; /* primary button, 5.17:1 with white */
--brand-hover: #1D4ED8; /* 6.70:1 with white */
--brand-active: #1E40AF; /* 8.72:1 with white */
--brand-tint: #EFF6FF; /* link hover background */
--accent: #93C5FD; /* borders, chart fills */
--surface: #FFFFFF;
}
Two of those seven are from the palette; the rest are derived from the brand hue. That ratio is normal. If you would rather pick the derived steps by hand, the lighten and darken tools take an exact percentage, and the library page for #2563EB lists its tints, shades, and contrast data already computed.
What these palettes have in common
Look at the four hexes in any of them and you will find the same structure: one value very dark, one very light, and the two in the middle carrying the color. That spread is what makes a palette usable. Four mid-tone colors, however beautiful together, leave you with nothing to set text in.
The second pattern is restraint in hue. None of the ten uses more than two genuinely different hues; the fourth swatch is nearly always a lighter version of one that came before. If you want to build your own with the same discipline, start from a single brand hex on the color wheel, take the split-complementary accent it suggests, then derive everything else as lightness steps of those two in the color scale generator.
And check the ratios before you commit. Four of the brand colors above fall short of 4.5:1 with white text — #D1B054 at 2.09:1, #10B981 at 2.54:1, #F97316 at 2.80:1, and #EC4899 at 3.53:1 — while every one of them clears it comfortably with black. Nothing is wrong with any of these colors. But a white label on one of them ships an accessibility bug on your most-clicked element, and it is a two-second check.