An indigo site with 40 colors in use, built with Tailwind CSS 4, 81% of its text at WCAG AA

The colors of huggingface.co

Recolor (recolor.page) read the home page of huggingface.co on October 8, 2026: its main color is #4f39f6, an indigo, and it paints 40 colors in 7 hue families out of 341 distinct values in its CSS, half of its text at 4.84:1 or better against what it sits on.

Measured

#4f39f6Royal Blue
#f6339aDeep Pink
#7f22feBlue Violet
#ffffffWhite
#6a7282Dim Gray
From the colors of the web 2026 dataset (dataset.csv, rank 498), measured on October 8, 2026 with scripts off; how it was measured
Measurehuggingface.co
Main color#4f39f6, an indigo near royalblue
Five heaviest colors#e5e7eb #ffffff #99a1af #d1d5dc #6a7282
Colors in use40, 31 more than a gray; 341 distinct values in the CSS
Hue families7; indigo, pink, violet and orange hold 5% or more of its color
Canvas#ffffff, light
Dark mode in the CSSYes: prefers-color-scheme: dark and a dark theme's class or attribute
Notationshex codes 64%, oklch() 24%, oklab() 13%
Colors through var()61% of its color declarations; 260 variables hold a color
FrameworkTailwind CSS 4
Text contrastMedian 4.84:1; 19% of its text under 4.5:1
Page measuredhttps://huggingface.co/, 974.6 KB of CSS

The palette of huggingface.co

Taken the way Recolor's Use site colours takes a page's colors, huggingface.co gives the palette #4f39f6, #f6339a, #7f22fe, #ffffff and #6a7282: the main color first, then its background and text color, black or white for colored text. The code below holds the palette; open huggingface.co in Recolor in its own colors or try another palette on huggingface.co.

CSS variables

CSS
:root {
  --color-1: #4f39f6;
  --color-2: #f6339a;
  --color-3: #7f22fe;
  --color-4: #ffffff;
  --color-5: #6a7282;
  --color-primary: var(--color-1);
  --color-secondary: var(--color-2);
  --color-accent: var(--color-3);
}

Tailwind v4 @theme

CSS
@theme {
  --color-1: #4f39f6;
  --color-2: #f6339a;
  --color-3: #7f22fe;
  --color-4: #ffffff;
  --color-5: #6a7282;
  --color-primary: #4f39f6;
  --color-secondary: #f6339a;
  --color-accent: #7f22fe;
}

Text contrast on huggingface.co

The median contrast of the text on huggingface.co is 4.84:1, and 19% of it fails WCAG AA: 19% is under 4.5:1 and 17% under 3:1. On the average studied site 6% of the text fails. 19% of its text sits on a dark ground. To pick a readable ink for a background, see Black or white text on a color.

How huggingface.co writes its colors

Its CSS writes 2,440 color values: 64% hex codes, 24% in oklch() and 13% in oklab(). It is one of the 59 studied sites that write oklch(). 61% of its color declarations read a CSS variable through var(), and it defines 260 variables that hold a color. It also mixes colors with color-mix() 926 times.

Its CSS carries Tailwind CSS's variables, version 4 (one of 201 Tailwind CSS sites). It declares a dark mode, through a prefers-color-scheme: dark media query and a dark theme's class or attribute, like 406 sites of the 1,000.

Sites with a similar main color

Other indigo sites whose main color is about as light as huggingface.co's. All 41 are on the indigo page, and colors that go with indigo shows what they pair it with. huggingface.co is also listed under Tailwind CSS sites, sites that write oklch() and sites with a dark mode.

Common questions

Is the main color of huggingface.co blue?

No. Its main color is #4f39f6, an indigo near the CSS color royalblue; blue leads on 49% of the 1,000 sites the study read.

Does huggingface.co use Tailwind CSS?

Yes. Its CSS carries Tailwind CSS's variables, version 4, like 201 of the 1,000 sites the study read.

Is huggingface.co a dark site?

No. The color behind its home page is #ffffff, a light canvas, though its CSS declares a dark mode for readers who ask for one.

Does the text on huggingface.co pass WCAG AA?

No. 19% of its text fails AA, though half of it reads at 4.84:1 or better.

Can I see huggingface.co in another palette?

Yes. Load huggingface.co in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.

Sources