A violet site with 10 colors in use, no framework found, all of its text at WCAG AA
The colors of google.com
The main color of google.com is #681da8, a violet, and its home page uses 10 colors, 2 of them more than a gray, in 2 hue families. Recolor (recolor.page) read the page on October 8, 2026 for the colors of the web study: 28 distinct color values in 16.5 KB of CSS, half of its text at 9.01:1 or better against what it sits on.
Measured
| Measure | google.com |
|---|---|
| Main color | #681da8, a violet near rebeccapurple |
| Five heaviest colors | #ffffff #681da8 #1f1f1f #0b57d0 #d2d2d2 |
| Colors in use | 10, 2 more than a gray; 28 distinct values in the CSS |
| Hue families | 2; violet and blue hold 5% or more of its color |
| Canvas | #ffffff, light |
| Dark mode in the CSS | Yes: prefers-color-scheme: dark |
| Notations | hex codes 77%, rgb() 18%, named colors 5.3% |
Colors through var() | 32% of its color declarations; 0 variables hold a color |
| Framework | None the study looks for |
| Text contrast | Median 9.01:1; 0% of its text under 4.5:1 |
| Page measured | https://www.google.com/, 16.5 KB of CSS |
The palette of google.com
Recolor reads a page's colors as its Use site colours button does: each hue family's main color in rank order, then its background and text color, black or white for colored text, then grays. For google.com that is #681da8, #0b57d0, #ffffff, #545454 and #d2d2d2. Open google.com in Recolor in its own colors, or try another palette on google.com.
CSS variables
:root {
--color-1: #681da8;
--color-2: #0b57d0;
--color-3: #ffffff;
--color-4: #545454;
--color-5: #d2d2d2;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #681da8;
--color-2: #0b57d0;
--color-3: #ffffff;
--color-4: #545454;
--color-5: #d2d2d2;
--color-primary: #681da8;
--color-secondary: #0b57d0;
--color-accent: #ffffff;
}Text contrast on google.com
Half of the text on google.com reads at 9.01:1 or better against what it sits on, and all of it reaches WCAG AA: 4.5:1 for body text, 3:1 for large text. On the average studied site 6% of the text fails. 5.1% of its text sits on a dark ground. Black or white text on a color shows how such contrast is chosen.
How google.com writes its colors
Its CSS writes 131 color values: 77% hex codes, 18% in rgb() and 5.3% named colors. 32% of its color declarations read a CSS variable through var(), and it defines 0 variables that hold a color.
The study found none of the frameworks it looks for in its CSS: no Tailwind CSS, Bootstrap, WordPress or site builder variables. It declares a dark mode, through a prefers-color-scheme: dark media query, like 406 sites of the 1,000.
Sites with a similar main color
Other violet sites whose main color is about as light as google.com's. All 33 are on the violet page, and colors that go with violet shows what they pair it with. google.com is also listed under sites with a dark mode.
Common questions
Is the main color of google.com blue?
No. Its main color is #681da8, a violet near the CSS color rebeccapurple; blue leads on 49% of the 1,000 sites the study read.
Does google.com use Tailwind CSS?
No. Its CSS carries none of Tailwind CSS's variables, nor those of another framework the study looks for.
Is google.com 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 google.com pass WCAG AA?
Yes. All of the text the study measured reaches 4.5:1 against what it sits on, or 3:1 where it is large; half of it reads at 9.01:1 or better.
Can I see google.com in another palette?
Yes. Load google.com in Recolor and press Space: the page repaints in a new palette, live. Its own palette opens it close to how it looks.
Sources
- The colors of the web 2026, Recolor recolor.page
- How the study was measured recolor.page
- dataset.csv, the row of rank 1 recolor.page
- google.com, the page measured google.com
- Majestic Million, CC BY 3.0, attribution "Majestic" majestic.com