Your palette — click a swatch to copy its hex code

Harmony Rule

CSS Variables

:root {
  --color-1: #468ce5;
  --color-2: #4665e5;
  --color-3: #4f46e5;
  --color-4: #7746e5;
  --color-5: #9f46e5;
}

Tailwind Config

colors: {
  palette: {
    100: '#468ce5',
    200: '#4665e5',
    300: '#4f46e5',
    400: '#7746e5',
    500: '#9f46e5',
  },
},

How it works

Pick a base color and a harmony rule, and this tool generates a five-color palette using HSL color math -- complementary hues sit 180° apart on the color wheel, triadic hues 120° apart, and so on. Each swatch shows its WCAG contrast ratio against white (W) and black (B) text, with an AAA / AA / Fail badge so you can choose accessible combinations. Everything runs entirely in your browser; no colors or data are sent to any server.