# Haskell design system

> Haskell design system measured from haskell.org: Source Sans 3 font, #9E358F primary on #FFFFFF, 10 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/haskell.org/

Haskell’s website (haskell.org) uses the Source Sans 3 font and #9E358F as its main color on a white background. Measured by Sitepeel on November 29, 2026.

## What font does Haskell use?

Haskell uses Source Sans 3 (weights 400, 500 and 700) and Raleway (weight 500) on haskell.org. Page titles are 40px at weight 400 and body text is 15px. Measured on November 29, 2026.

- Source Sans 3 (weights 400, 500, 700)
- Raleway (weights 500)

## Haskell colors: palette and hex codes

Haskell’s main colors are #FFFFFF (white) for the background, #333333 (graphite) for text and #9E358F (purple) as the main accent, with #8B2F7E (dark purple) and #DB83ED (light purple) as other accents. Measured on November 29, 2026.

- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #333333: graphite (rgb(51, 51, 51), hsl(0, 0%, 20%))
- #666666: slate (rgb(102, 102, 102), hsl(0, 0%, 40%))
- #717171: slate (rgb(113, 113, 113), hsl(0, 0%, 44%))
- #CCCCCC: silver (rgb(204, 204, 204), hsl(0, 0%, 80%))
- #DDDDDD: silver (rgb(221, 221, 221), hsl(0, 0%, 87%))
- #9E358F: purple (rgb(158, 53, 143), hsl(309, 50%, 41%))
- #8B2F7E: dark purple (rgb(139, 47, 126), hsl(308, 49%, 36%))

## What is Haskell built with?

Haskell’s website (haskell.org) is built with jQuery and Nginx. Measured on November 29, 2026.

- JavaScript framework: jQuery 1.11.0
- Server: Nginx

## Questions and answers

### What font does Haskell use?

Haskell’s website uses Source Sans 3 (weights 400, 500 and 700) and Raleway (weight 500). Page titles are 40px at weight 400 and body text is 15px. Measured on November 29, 2026.

### What are the Haskell colors and hex codes?

On haskell.org: #FFFFFF (white) for the background, #333333 (graphite) for text and #9E358F (purple) as the main accent, with #8B2F7E (dark purple) and #DB83ED (light purple) as other accents. The color palette above lists all 10 colors with their hex codes and where each one is used.

### What is the Haskell design system?

The design system on this page is haskell.org’s, as measured on November 29, 2026: Source Sans 3 type, #9E358F as the main color and 4px corners, written down as a DESIGN.md. It is not Haskell’s own documentation.

### What is Haskell built with?

Haskell’s website (haskell.org) is built with jQuery and Nginx. Measured on November 29, 2026.

### What is the Haskell DESIGN.md?

A plain-text file with Haskell’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Haskell’s official design system?

No. Sitepeel measured it from haskell.org’s public page on November 29, 2026. It is an independent analysis, not made or approved by Haskell.

### Can I use Haskell’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Haskell’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/haskell.org/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Haskell.

## The DESIGN.md file

```markdown
---
version: alpha
name: Haskell
description: "Light interface measured from haskell.org: Source Sans 3 type with Raleway, purple accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#333333"
  on-background: "#333333"
  on-surface-variant: "#666666"
  on-surface-muted: "#717171"
  surface-container-low: "#CCCCCC"
  outline: "#DDDDDD"
  primary: "#9E358F"
  on-primary: "#FFFFFF"
  secondary: "#8B2F7E"
  tertiary: "#DB83ED"
typography:
  headline-display:
    fontFamily: Source Sans 3
    fontSize: 40px
    fontWeight: 400
    lineHeight: 1
  headline-lg:
    fontFamily: Raleway
    fontSize: 34px
    fontWeight: 500
    lineHeight: 1.1
  headline-md:
    fontFamily: Source Sans 3
    fontSize: 28px
    fontWeight: 500
    lineHeight: 1.1
  headline-sm:
    fontFamily: Source Sans 3
    fontSize: 24px
    fontWeight: 500
    lineHeight: 1.1
  title-lg:
    fontFamily: Source Sans 3
    fontSize: 20px
    fontWeight: 500
    lineHeight: 1.1
  body-md:
    fontFamily: Source Sans 3
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.3
  body-sm:
    fontFamily: Source Sans 3
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: Source Sans 3
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.43
  label-sm:
    fontFamily: Source Sans 3
    fontSize: 15px
    fontWeight: 700
    lineHeight: 1.3
rounded:
  sm: 4px
  md: 6px
  full: 9999px
spacing:
  xs: 4px
  sm: 7px
  md: 11px
  lg: 22px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.title-lg}"
    rounded: "{rounded.md}"
    padding: 10px 16px
    height: 49px
  button-primary-hover:
    backgroundColor: "#78286C"
  button-ghost:
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.headline-display}"
    rounded: 0px
    padding: 0px
  link:
    textColor: "{colors.on-surface-muted}"
---

# Haskell Design System

## Overview

Haskell describes itself as: “The Haskell purely functional programming language home page.” The interface is light, built on **White (#FFFFFF)** with **Graphite (#333333)** text, and **Purple (#9E358F)** as the main accent.

Type is set in **Source Sans 3** and **Raleway**. Headlines run large; body text is 15px. The surface language is flat. Controls are pill-shaped.

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

## Colors

The palette has 10 roles.

- **White (#FFFFFF):** Page background, seen 7 times. Token `background`.
- **Graphite (#333333):** Primary text and headings, seen 72 times. Token `on-surface`.
- **Slate (#666666):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Slate (#717171):** Muted text and metadata, seen 8 times. Token `on-surface-muted`.
- **Silver (#CCCCCC):** Raised areas one step from the page, seen 4 times. Token `surface-container-low`.
- **Silver (#DDDDDD):** Borders and dividers, seen 6 times. Token `outline`.
- **Purple (#9E358F):** Primary buttons and calls to action, seen 28 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Purple (#8B2F7E):** Accent in text, fills and borders, seen 9 times. Token `secondary`.
- **Light Purple (#DB83ED):** Accent in text, fills and borders, seen 7 times. Token `tertiary`.

## Typography

**Source Sans 3** and **Raleway** share the interface. Fallback stack: `Source Sans 3, Helvetica, Arial, sans-serif`.

- **headline-display:** Source Sans 3 40px at weight 400, line height 1. Page title (h1).
- **headline-lg:** Raleway 34px at weight 500, line height 1.1. Section headings (h2).
- **headline-md:** Source Sans 3 28px at weight 500, line height 1.1. Sub-section headings.
- **headline-sm:** Source Sans 3 24px at weight 500, line height 1.1. Card and feature titles.
- **title-lg:** Source Sans 3 20px at weight 500, line height 1.1. Small titles.
- **body-md:** Source Sans 3 15px at weight 400, line height 1.3. Body text.
- **body-sm:** Source Sans 3 14px at weight 400, line height 1.5. Secondary and small text.
- **label-md:** Source Sans 3 16px at weight 400, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Source Sans 3 15px at weight 700, line height 1.3. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 11% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 4px, sm 7px, md 11px, lg 22px.
- **Breakpoints:** 767px, 768px, 991px, 992px, 1199px, 1200px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#CCCCCC) and #DDDDDD borders.

## Shapes

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

- **sm (4px):** 56 elements.
- **full (9999px):** 20 elements.
- **md (6px):** 8 elements.

## Components

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

- **button-primary (“Get started”):** #9E358F fill, #FFFFFF text, 20px/400, 6px radius, padding 10px 16px, border 1px solid #8B2F7E.
- **button-primary-hover:** background #78286C, text #FFFFFF on hover.
- **button-ghost (“«”):** transparent fill, #666666 text, 40px/400, padding 0px.
- **link:** transparent fill, #717171 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #CCCCCC.
- Do keep text in 3 levels: #333333, #666666, #717171.
- Do reserve #9E358F for primary actions and key highlights.
- Do reuse the measured spacing steps (7px, 11px, 22px).
- Do make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Source Sans 3 and Raleway.
- Don't use #9E358F for large backgrounds or body text.
- Don't make interface transitions slower than 0.5s.

## Motion

Interface transitions are quick: 0.2s, 0.5s.

- **Easing:** `ease-in-out`, `cubic-bezier(0.17, 0.67, 0.83, 0.67)`.

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

```
