Skip to tool workspace
EVERYDAY UTILITIES

Color Palette Generator & WCAG Contrast Checker

Generate harmonious 5-color palettes, lock favorite shades, and verify WCAG 2.1 AA/AAA accessibility contrast ratios in real time. Press Spacebar to generate.

No account required · Client-side processing
Tip: Click lock 🔒 to keep colors
#1
RGB(15, 23, 42)
#2
RGB(30, 41, 59)
#3
RGB(56, 189, 248)
#4
RGB(129, 140, 248)
#5
RGB(248, 250, 252)

WCAG 2.1 Accessibility Contrast Ratio

Test any two palette colors for compliance
Foreground:
Background:
Ratio:8.33 : 1

Sample preview text in #38BDF8 on #0F172A

WCAG AA Normal Text (≥4.5:1): PASS ✓WCAG AA Large Text (≥3.0:1): PASS ✓WCAG AAA Enhanced (≥7.0:1): PASS ✓

Color Vision Deficiency Simulation

Protanopia (Red-Blind)
Deuteranopia (Green-Blind)
Tritanopia (Blue-Blind)
OFFICIAL SPECIFICATION · UTILITY100% Client-Side Engine

Color Palette Generator & WCAG Accessibility Contrast Checker: Complete Technical Guide

Direct Execution Summary

Generate beautiful, harmonious color schemes and ensure WCAG 2.1 AA/AAA compliance directly in your browser.

Accuracy Standards & Best Practices

  • Precision-calibrated inputs: Ensure parameters conform to standard unit conventions before applying results in production.
  • Zero network roundtrips: All calculations and transforms are executed in-memory on your local browser engine.
  • Session safety: Workspaces reset on reload to maintain maximum memory efficiency and confidentiality.

Frequently Asked Technical Questions

What is the WCAG 2.1 contrast standard?

Web Content Accessibility Guidelines (WCAG) 2.1 require a contrast ratio of at least 4.5:1 for normal body text and 3:1 for large text (18pt or 14pt bold) to achieve Level AA compliance. Level AAA requires 7:1 for normal text.

How do I lock a color swatch?

Click the lock icon (🔓) on any swatch to prevent it from changing when you press Spacebar or click Generate Palette. This lets you build palettes around your existing brand colors.

Can I export my palette to CSS or Figma?

Yes! Use the 'Copy CSS' button to grab CSS custom property variables (--palette-color-1) or 'Copy HEX List' for instant pasting into Figma, Sketch, or Adobe Illustrator.

KEEP GOING