Adobe Leonardo

Adobe Leonardo

Contrast-Based Colour Palettes

Description

You build a palette, check contrast, and the text on light buttons fails, so you tune each colour again. Adobe's Leonardo works the other way: set the contrast ratio first, then generate the colour, so the scale meets WCAG minimums by design.

The web app at leonardocolor.io lets designers and engineers build UI colour scales together, backed by an open-source JavaScript library under Apache-2.0.

Features



Contrast first: Enter a target ratio and get the matching colour.

Adaptive colour: Change brightness or contrast and the whole UI palette regenerates, ideal for dark, light and high-contrast modes.

Visual editor: Tune key colours and interpolation with live text and button previews.

In code: The same logic ships as an npm package for generating colours at runtime.