Palette Generator

Palette Generator is a free online tool that provides palette generator color conversions, harmonious palette generation, and WCAG AA/AAA contrast checking. It supports HEX, RGB, HSL, OKLCH, CSS inputs and outputs using sRGB/HSL/OKLCH color math and WCAG 2.1 luminance contrast with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the color_convert_contrast MCP tool.

Formats: HEX, RGB, HSL, OKLCH, CSS

Available in MCP: color_convert_contrast

How to use Palette Generator

  1. Pick a color or enter HEX, RGB, or HSL values into Palette Generator.
  2. Inspect converted color spaces, generated harmonies, or foreground/background contrast ratios.
  3. Copy CSS variables, palette hex codes, or WCAG compliance results.

FAQ

How does Palette Generator verify accessibility contrast?
It computes relative luminance per WCAG 2.1 and reports exact contrast ratios against AA (4.5:1) and AAA (7:1) thresholds.
Which color formats are converted automatically?
Any valid HEX, RGB, or HSL input converts simultaneously to HEX, RGB, HSL, and CSS custom property formats.
Can I export palettes for CSS or Tailwind?
Yes. Color palettes copy directly as HEX lists or CSS custom properties.