DevToolsHub Free · Fast · 100% in your browser

Color Converter & Contrast Checker

Convert between HEX, RGB and HSL and check WCAG contrast.

HEX#6d28d9
RGBrgb(109, 40, 217)
HSLhsl(263, 70%, 50%)

Contrast checker

#ffffff
The quick brown fox jumps over the lazy dog
Contrast ratio7.10:1
AA normal text (4.5)✅ Pass
AA large text (3.0)✅ Pass
AAA normal text (7.0)✅ Pass
AAA large text (4.5)✅ Pass

About this color converter and contrast checker

Convert colors between HEX, RGB and HSL and check WCAG contrast ratios for accessibility. Instantly see whether text and background colors pass AA and AAA requirements.

How to use the Color Converter & Contrast Checker

  1. Enter a color in any format or use the picker.
  2. Copy HEX, RGB or HSL.
  3. Choose a background to check contrast.

Frequently asked questions

What contrast ratio do I need?

WCAG AA requires 4.5:1 for normal text and 3:1 for large text. AAA requires 7:1 and 4.5:1.

Is my data safe?

Yes. The tool runs entirely in your browser using WebAssembly. Nothing you type or upload is sent to a server, logged or stored.

Is it free?

Yes, completely free with no sign-up, no limits and no watermarks. It also works offline once the page has loaded.

An unhandled error has occurred. Reload ✕