---
version: alpha
name: Kagi
description: "Light interface measured from kagi.com: Lufga type with system-ui, indigo accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#18181A"
  on-background: "#18181A"
  on-surface-strong: "#000000"
  on-surface-variant: "#454549"
  on-surface-muted: "#B7B7BB"
  surface-container-low: "#FAFAFB"
  surface-container: "#F5F5F5"
  surface-container-high: "#E6F4DC"
  overlay: "#C9C1FF4D"
  overlay-strong: "#C9C1FF33"
  outline: "#E6E6E8"
  primary: "#6C5EDC"
  on-primary: "#FFFFFF"
  inverse-surface: "#2F2F31"
  secondary: "#FCB219"
  tertiary: "#7A4D00"
typography:
  headline-display:
    fontFamily: Lufga
    fontSize: 46px
    fontWeight: 600
    lineHeight: 1.13
  headline-lg:
    fontFamily: Lufga
    fontSize: 24px
    fontWeight: 600
    lineHeight: 1.33
  headline-md:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.4
  body-md:
    fontFamily: Arial
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-lg:
    fontFamily: Arial
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.75
  body-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-sm:
    fontFamily: Arial
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: Lufga
    fontSize: 32px
    fontWeight: 600
    lineHeight: 1.25
rounded:
  xs: 5px
  sm: 8px
  md: 10px
  lg: 24px
  xl: 48px
  full: 9999px
spacing:
  xs: 4px
  sm: 7px
  md: 12px
  lg: 32px
  xl: 64px
  gutter: 12px
  section: 64px
  margin: 32px
  container: 1440px
components:
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.body-lg}"
    rounded: "{rounded.sm}"
    padding: 4px 12px
    height: 36px
  button-ghost:
    backgroundColor: "{colors.surface-container}"
    textColor: "#FF5252"
    typography: "{typography.body-lg}"
    rounded: "{rounded.sm}"
    padding: 4px 12px
    height: 36px
  button-ghost-hover:
    backgroundColor: "{colors.on-surface}"
  input-field:
    backgroundColor: "{colors.background}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-lg}"
    rounded: 0px
    padding: 11px 21px
  link:
    textColor: "{colors.on-primary}"
---

# Kagi Design System

## Overview

Kagi describes itself as: “Better search results. No ads. We pull from the leading search engines, then re-rank everything and filter out spam.” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#18181A)** text, and **Indigo (#6C5EDC)** as the main accent.

Type is set in **Lufga** and **system-ui**. Headlines run large; body text is 14px. The surface language is flat. Controls are pill-shaped.

Measured from [kagi.com](https://kagi.com/) on November 29, 2026 at 1440×900 and 390×844 from 381 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 16 roles.

- **White (#FFFFFF):** Page background, seen 6 times. Token `background`, CSS `--bg-input`.
- **Charcoal (#18181A):** Primary text and headings, seen 85 times. Token `on-surface`.
- **Near Black (#000000):** Headings and emphasis, seen 8 times. Token `on-surface-strong`.
- **Graphite (#454549):** Secondary text, seen 24 times. Token `on-surface-variant`, CSS `--bg-tooltip`.
- **Silver (#B7B7BB):** Muted text and metadata, seen 3 times. Token `on-surface-muted`.
- **Snow (#FAFAFB):** Raised areas one step from the page, seen 3 times. Token `surface-container-low`, CSS `--assistant-hover`.
- **Snow (#F5F5F5):** Cards and panels, seen 3 times. Token `surface-container`, CSS `--base-graphite-50`.
- **Pale Green (#E6F4DC):** Hover and pressed fills, seen 3 times. Token `surface-container-high`.
- **Pale Indigo 30% (#C9C1FF4D):** Translucent fill for cards and controls, seen 1 time. Token `overlay`, CSS `--active-bg`.
- **Pale Indigo 20% (#C9C1FF33):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Mist (#E6E6E8):** Borders and dividers, seen 5 times. Token `outline`.
- **Indigo (#6C5EDC):** Most used accent color, seen 8 times. Token `primary`, CSS `--base-purple-600`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Graphite (#2F2F31):** High-contrast fills, seen 8 times. Token `inverse-surface`.
- **Vivid Amber (#FCB219):** Accent in text, fills and borders, seen 4 times. Token `secondary`.
- **Dark Orange (#7A4D00):** Accent, seen 4 times. Token `tertiary`.

## Typography

**Lufga**, **system-ui** and **Arial** share the interface. Fallback stack: `Lufga, Lufga Fallback, system-ui, -apple-system`. Other loaded fonts: Lufga Search Pricing.

- **headline-display:** Lufga 46px at weight 600, line height 1.13 (32px on mobile). Page title (h1).
- **headline-lg:** Lufga 24px at weight 600, line height 1.33. Section headings (h2).
- **headline-md:** system-ui 20px at weight 400, line height 1.4. Sub-section headings.
- **body-md:** Arial 14px at weight 400, line height 1.43. Body text.
- **body-lg:** Arial 16px at weight 400, line height 1.75. Lead paragraphs.
- **body-sm:** system-ui 12px at weight 400, line height 1.33. Secondary and small text.
- **label-md:** system-ui 16px at weight 400, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Arial 14px at weight 600, line height 1.43. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (77% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 7px, md 12px, lg 32px, xl 64px.
- **Sections:** 64px vertical padding between major sections.
- **Gaps:** 12px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1440px.
- **Page margin:** 32px on each side of full-width sections.
- **Breakpoints:** 640px, 767px, 768px, 769px, 991px, 1024px, 1200px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#FAFAFB → #F5F5F5 → #E6F4DC) and #E6E6E8 borders.

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 112 elements.
- **xl (48px):** 20 elements.
- **sm (8px):** 16 elements.
- **md (10px):** 12 elements.
- **lg (24px):** 12 elements.
- **xs (5px):** 8 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-outline (“Tim Berners-Lee”):** #F5F5F5 fill, #454549 text, 16px/400, 8px radius, padding 4px 12px.
- **button-ghost (“@r Favorite independent websites”):** #F5F5F5 fill, #FF5252 text, 16px/400, 8px radius, padding 4px 12px.
- **button-ghost-hover:** background #18181A, text #FF5252 on hover.
- **input-field (“Try a search ...”):** #FFFFFF fill, #18181A text, 16px/400, padding 11px 21px.
- **link:** transparent fill, #FFFFFF text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FAFAFB, #F5F5F5, #E6F4DC.
- Do keep text in 4 levels: #18181A, #000000, #454549, #B7B7BB.
- Do reserve #6C5EDC for primary actions and key highlights.
- Do reuse the measured spacing steps (7px, 12px, 32px).
- Do make buttons and chips fully rounded (9999px); most other elements use 48px corners.
- Don't use #B7B7BB for body text; it reaches 2.00:1 on #FFFFFF. Keep it for large text or metadata.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Lufga, system-ui and Arial.
- Don't use #6C5EDC for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.

## Motion

Interface transitions are quick: 0.15s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/kagi.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
