Color Palette Generator

Build colour palettes from one base hex: complementary, analogous, triadic, tetradic or monochromatic — plus a WCAG contrast check.

Generators 100% in your browser

Contrast with white: 6.29:1 (passes AA for body text). Colours convert through exact HSL maths; click any swatch to copy its hex.

How to use

  1. Pick the base colour (picker or hex text).
  2. Choose a harmony rule.
  3. Click any swatch to copy its hex.
  4. Check the contrast ratio against white.

Example

Input: #4f46e5 · triadic

Output: Base + 120° and 240° rotations · contrast vs white: 6.29:1

How it works

Starting from your colour, the tool computes harmonious companions — complementary, analogous and triadic — by rotating the hue on the colour wheel.

Limits & compatibility

  • Harmonies are HSL-based — perceptual (OKLCH) spaces are not used.
  • Contrast is WCAG 2.x relative luminance against white only.
  • Conversions round to the nearest integer RGB channel.

Privacy

All colour maths run locally in your browser. Nothing is transmitted, logged or stored.

Related tools

FAQ

Questions about Color Palette Generator

Is my input private?

Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.

How accurate is the result, and what are the limits?

The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.

What happens to files I open with this tool?

Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.