Palette generator
Build and document a color palette for a brand identity.
Five colors are the working set. Every style changes the relationship between the colors while keeping the same jobs in the brand.
- Signature
- The recognizable brand color. It can cover a business card or mark one action on a neutral page.
- Support
- A secondary brand color, quieter than Signature. It gives the envelope its color and forms the second color in the pattern.
- Background
- The page canvas. Its low chroma lets the brand colors and reading hierarchy come forward.
- Surface
- The adjacent neutral layer. Use it for a navigation bar, card or display surface above the canvas.
- Text
- The neutral ink for reading. The preview checks it against Background and Surface and identifies any substitute ink.
What the research supports
Perceived harmony, preference and the success of a foreground on a background are separate judgments. Schloss and Palmer found that hue similarity helped harmony judgments in their color pairs, while lightness contrast contributed more strongly to preference. This is why related hues can hold a palette together and still need clear lightness separation at the point of use. Schloss and Palmer, 2011.
Ou and Luo studied 1,431 pairs built from CIELAB samples under controlled display conditions. Their pair model is useful evidence for treating harmony as a relationship between colors. A branding palette adds area, typography and use. Here, the same Signature is tested as a full business card and as a small control, while Support stays in secondary positions. Ou and Luo, 2006.
Albers’ studies demonstrate how neighbors alter the appearance of a color. Palmer and Schloss linked preferences to associations with objects, while Jonauskaite and colleagues found shared associations across countries alongside linguistic and geographic effects. The generator therefore works with relationships and applications and leaves the desired cultural associations to the project brief. Albers, Interaction of Color · Palmer and Schloss, 2010 · Jonauskaite et al., 2020.
How the styles differ
- Berriel Blend
- Support blends Signature into Surface in OKLab. A shared hue and different lightness levels give the colors separate jobs.
- Accent Focus
- Higher chroma is reserved for Signature. Support stays close to the neutral layer, so a small button can carry the same identity as a full color field.
- Tonal
- The same hue is carried into a darker Support. Lightness does the work of separating the two areas.
- Analogous
- Support begins about 30° from Signature in OKLCH. Blending toward the neutral layer keeps the neighboring hue secondary.
- Split Complementary
- Support begins about 155° to either side of Signature, one flank of the opposing hue. Lower chroma and a smaller area keep it in a supporting role.
The hue offsets, five roles and color-area choices are design rules for this tool. The generator starts from selected color families. It compares bounded variations for separation, readability and chroma hierarchy, and reduces chroma when needed to fit sRGB. Locked colors are carried through. W3C CSS Color 4.
Reading the contrast results
WCAG 2.2 AA uses 4.5:1 for normal text, 3:1 for large text, and 3:1 for applicable visual information on controls and meaningful graphics against adjacent colors. The checker calculates relative luminance from the sRGB values and compares the full ratio before formatting it. The report is a color-pair check. A finished site also needs checks for states, layout, focus and cues beyond color. These digital results do not predict print contrast. Text contrast · Non-text contrast · Use of color.