SimplyCalculated.org

Color Palette Generator

Start from any color and get a five-color palette built on classic color-harmony rules — monochromatic ramps, analogous neighbors, complementary opposites, and more. Shuffle for inspiration, copy with one click.

100% private: everything is processed in your browser's memory — nothing you enter is uploaded to a server, logged, or stored.

Color Palette Generator

What Is a Color Palette Generator?

A color palette generator takes a single base color and produces a set of related colors that work well together. Instead of hunting through swatch libraries or picking five colors by eye and hoping they harmonize, you choose one color you already like and let the generator derive the rest using well-established color-theory relationships. This tool produces exactly five colors per palette, the same convention Adobe Color made standard, so the result slots neatly into design workflows — brand systems, UI themes, data-viz scales, or a website color scheme.

Under the hood the generator works entirely in HSL, the color model where harmony rules are easiest to express: hue is the position on the color wheel, saturation is the vividness, and lightness is how light or dark the color is. A harmony rule is then just "which hue offsets to pick." Because every scheme is derived from your base color's hue, saturation, and lightness, the five outputs always feel like they belong to the same family — even a scheme with wildly different hues shares the same tone.

How the Generator Computes Each Palette

Every scheme follows the same three-step pipeline, so the math is easy to reason about. First the base color is converted from hex to HSL (hue, saturation, lightness). Second, the scheme's hue offsets and lightness adjustments are applied to those values. Third, each resulting color is converted back to hex for display. Hue offsets are normalized the same way CSS treats them: the hue circle wraps at 360°, so a base hue of 350° shifted by +30° lands on 20°, and a base hue of 10° shifted by −60° lands on 310°. Lightness adjustments are clamped into the valid 0–100 range, and every derived color is a real, renderable color — the generator never emits an invalid value.

Tint and shade variants, which appear in the complementary, split-complementary, triadic, and tetradic schemes, simply raise or lower the lightness by 15 points while keeping hue and saturation identical — a tint is a lighter version of the same hue, a shade a darker one. This is why every palette includes a built-in light "surface" color and a dark "ink" color regardless of which hues the harmony picked.

The Six Harmony Schemes

Each scheme below produces five swatches, labelled so you can see exactly how each color relates to your base. Degree labels like +30° mean the swatch uses your base hue shifted by that many degrees on the color wheel (0° is red, 120° is green, 240° is blue, and the wheel wraps at 360°).

Scheme Hue offsets Character
Monochromatic same hue, lightness 15 / 35 / 55 / 75 / 95 A ready-to-use dark-to-light ramp; calm and cohesive
Analogous −60°, −30°, 0°, +30°, +60° Neighboring hues; natural, harmonious, low-contrast
Complementary 0°, 180°, plus tint/shade variants Opposite hues; maximum contrast, high energy
Split-Complementary 0°, 180°, ±150° Complement's neighbors; strong contrast, less jarring
Triadic 0°, +120°, −120° Three hues evenly spaced; balanced and lively
Tetradic 0°, +90°, +180°, −90° Four hues a quarter-turn apart; richest, hardest to balance

The complementary, split-complementary, triadic, and tetradic schemes additionally include tint and shade variants (lightness raised or lowered by 15 points) so every palette has a light "background" candidate and a dark "text" candidate built in.

Step-by-Step: A Monochromatic Ramp From #3498db

Follow along with the tool. Type #3498db as the base color — the classic dodger blue — and make sure the scheme is set to Monochromatic. The generator converts the base to HSL (hue ≈ 204°, saturation ≈ 70%, lightness ≈ 53%) and then:

  1. Holds hue and saturation constant at the base's values — every swatch is the same family of blue.
  2. Steps lightness through five stops: 15% (a deep navy-ink blue, usable as text or a dark header), 35% (a medium-dark blue for secondary surfaces), 55% (the vivid heart of the ramp), 75% (a soft pastel for backgrounds and borders), and 95% (a near-white blue for page backgrounds).
  3. Converts each stop back to hex for display and copying.

The result is exactly the kind of scale you would hand-build in a design tool — five steps from dark to light that keep hue consistent, which is the same trick Tailwind-style shade systems use to generate their 50–950 color ramps. Switch the scheme to Analogous and the same base becomes a five-color sweep across neighboring hues; switch to Complementary and you get the base, its opposite orange, and tint/shade variants of both.

A Complementary Example

Complementary harmony pairs a color with its exact opposite on the wheel — 180° away. With the base still at #3498db (hue ≈ 204°), the complement sits at 204° + 180° = 384°, which wraps to 24° — an orange. The complementary scheme therefore returns the base blue, the orange complement, a tint of the blue (lightness +15), a shade of the blue (lightness −15), and a tint of the orange. Blue-orange is the classic high-contrast pair, which is why the scheme feels energetic; the tint and shade variants give you the softer surface colors you actually need to build an interface around it.

Using the Generated Palettes

  • As CSS custom properties: copy each hex into --color-primary, --color-secondary, and friends so the palette becomes the single source of truth for a theme.
  • As design-token starting points: bring the five hexes into Figma or Sketch, then refine saturation and lightness by hand — the generated family guarantees you start from a coherent place.
  • As data-viz scales: the monochromatic ramp is ideal for sequential charts (lowest value = lightest step), while triadic or tetradic palettes give categorical charts distinguishable hues at equal visual weight.
  • As a brand direction tool: shuffle a few times with different schemes to generate candidate directions fast, then present the two or three strongest for discussion.

Troubleshooting & Common Mistakes

Invalid base color

The base field accepts three- or six-digit hex with or without the leading #. A common mistake is pasting a color in another format (like rgb(99, 102, 241) or a CSS name like indigo) — convert it to hex with the color converter first, then paste the hex here. The tool shows a clear error for anything it can't parse.

Everything looks gray or identical

If your base color is a gray, white, or black, its saturation is 0% and hue is meaningless, so hue-shifting schemes (analogous, complementary, triadic, tetradic, split-complementary) all produce the same color. This is mathematically correct. Pick a saturated base for colorful palettes, or use the monochromatic scheme, which still produces a usable five-step gray ramp from an achromatic base.

Remember contrast is separate from harmony

A harmonious palette is not automatically an accessible one. When a pair of colors carries information — text on a background, a button in a header — check its WCAG contrast ratio separately, especially with the pale tints and saturated hues this tool generates.

Frequently Asked Questions

What is a color harmony, and why does it matter?
A color harmony is a relationship between colors that is generally pleasing to look at. The classic harmony rules — analogous, complementary, triadic, and the rest — were derived from color theory and popularized by tools like Adobe Color: each rule fixes the geometric relationship between hues on the color wheel (for example, complementary colors sit exactly opposite each other, 180° apart). Using an established harmony is a shortcut to a palette that feels intentional rather than random. It is not a law — plenty of great designs break these rules on purpose — but when you need a coherent palette quickly, starting from a harmony gives you a reliable foundation.
Which scheme should I pick for my project?
It depends on the mood you want. Monochromatic is the safest: one hue at five lightness levels, which always looks cohesive and is ideal for clean, minimalist interfaces and data visualizations where color is a secondary signal. Analogous (neighboring hues) feels calm and natural, great for organic or editorial designs. Complementary pairs a color with its opposite for strong contrast — use it when you want something to pop, like a call-to-action button. Split-complementary and triadic are gentler ways to get contrast with more variety. Tetradic gives the richest, most playful palette but is the hardest to balance. When in doubt, start monochromatic or analogous and add a strong accent from the complementary scheme.
Why does my base color not appear in the monochromatic palette?
By design. The monochromatic scheme in this tool produces a fixed five-step lightness ramp (15%, 35%, 55%, 75%, 95%) using your base color’s exact hue and saturation — the way Tailwind-style shade systems work — so it is a ready-to-use scale from dark to light rather than "your color plus four variants." If you want your exact base color in the output, switch to any of the other five schemes, which all include the base as the "Base" swatch and derive the rest from it.
The palette only changed a little when I changed the scheme. Why?
Two likely reasons. First, if your base color has very low saturation (a gray or near-gray), hue barely matters, so hue-shifting schemes like analogous and triadic collapse into nearly identical colors — that is mathematically correct, not a bug. Second, some schemes share colors: complementary, split-complementary, and tetradic all include the exact complement 180° from your base color (at a different swatch position in each scheme), so switching between those three specifically can look similar at a glance. Triadic never uses the 180° complement, only ±120°, so it will look distinctly different from the others. Compare the swatch labels — the degree labels show exactly which hue offset each color uses.
Are the generated colors accessible (good contrast) together?
Not automatically, and this is important: color harmony is about aesthetics, not accessibility. Two colors that look great side by side can still fail WCAG contrast requirements for text or UI elements. Use the generated palette as a starting point, then check any pair that carries meaning (text on background, borders, focus states) with a contrast checker — light swatches from this tool are typically safe as backgrounds with dark text, and the darker ramp steps work well as text colors, but verify rather than assume, especially for the pale tints.
Does this tool send my colors to a server?
No. Every palette is generated in your browser with plain JavaScript — your base color and generated palettes never leave the page. You can work with brand colors or client palettes in complete privacy, and the tool works offline after the page has loaded.
Can I copy a single color from the palette?
Yes — every swatch has its own Copy button. Click it to copy that swatch’s hex code to your clipboard, and the button briefly reads "Copied!" so you know it worked. To copy several colors quickly, click each swatch’s Copy button in turn, or paste the hexes into your design tool or CSS as you go.

Formula last verified August 22, 2026 against our published methodology .