Catppuccin Mocha Theme: Colors, Uses, and Setup Tips

Petit Keycaps
Shop Catppuccin Keycap Set Shop Catppuccin Keycap Set

Catppuccin Mocha is the darkest Catppuccin flavor and the version most people recognize from editor screenshots, terminal setups, and themed desktops. Its deep purple-navy background gives pastel Mauve, Blue, Peach, Green, and Lavender room to glow without turning the interface into neon.

Mocha is the signature Catppuccin look, but it is not automatically the right flavor for every screen. It performs best in dim rooms and on displays that preserve detail in dark surfaces. Used in bright light or on a weak panel, its quiet comments and layered backgrounds can become difficult to separate.

Deep Catppuccin Mocha developer workspace at night with pastel syntax colors
Mocha's deep surface stack lets the pastel accents provide structure and atmosphere. Illustration generated for Petit Keycaps.

What is the Catppuccin Mocha theme?

Mocha is Catppuccin's original and deepest dark palette. Its Base color is #1e1e2e, while Mantle #181825 and Crust #11111b create darker layers around the main content. Text is a pale lavender-gray at #cdd6f4.

The background is not neutral black. Its purple-blue bias is central to the theme: warm Peach and Yellow remain friendly, cool Blue and Teal stay distinct, and Mauve feels integrated rather than decorative. The color relationships produce the soft, cohesive quality that separates Mocha from harsher high-contrast dark themes.

Catppuccin describes Mocha as its darkest variant with a cozy feeling and color-rich accents. That richness is why it dominates screenshots. The Base recedes, the accents appear luminous, and the full desktop can look deliberately composed.

Key Catppuccin Mocha colors

Role Hex Typical use
Base #1e1e2e Main editor or app background
Mantle #181825 Sidebar and secondary panes
Crust #11111b Lowest background layer
Text #cdd6f4 Primary text
Overlay 0 #6c7086 Comments and subtle UI
Mauve #cba6f7 Keywords and prominent accents
Blue #89b4fa Functions, links, and active controls
Peach #fab387 Warm syntax and highlights
Green #a6e3a1 Strings and success states

Use the complete Catppuccin hex palette for all 26 Mocha roles and side-by-side values from the other flavors.

Warm dark home office with a monitor, desk lamp, and plants
A warm, controlled home office gives Mocha's deepest surfaces enough ambient light to remain readable. Photo by Bangkit Ristant on Unsplash.

Where Mocha works best

Mocha is designed for a dark or controlled environment. When the screen is not competing with sunlight, the small steps between Base, Mantle, Crust, Surface, and Overlay colors become visible. The interface gains depth without hard borders, and pastel syntax remains clear without excessive brightness.

It is particularly satisfying on displays with strong contrast and stable dark tones. An OLED or a well-calibrated monitor can preserve the quiet layers around the editor while letting the accents stay soft. A poor panel may turn those same layers into one indistinct block.

Mocha also makes sense when the rest of the setup is already dark. Terminal windows, browser chrome, wallpapers, and keyboards can share the palette without a bright editor breaking the visual field.

Dark computer desk with monitor, keyboard, task lamp, and city lights
A controlled nighttime workspace gives deep surfaces and softer accents enough contrast to work as intended. Photo by Bunny Lau on Unsplash.

Mocha versus Macchiato and Frappé

Mocha Base #1e1e2e is darker than Macchiato Base #24273a and Frappé Base #303446. That deeper foundation increases the apparent separation of the colorful accents, which is why Mocha often looks more vivid even though the accents remain pastel.

Choose Macchiato if you like Mocha's overall character but lose comments, tabs, or panel boundaries during normal use. Choose Frappé if you want a noticeably softer dark theme for a brighter room. Neither switch abandons Catppuccin; it preserves the same roles at a more suitable brightness.

Use Mocha because the environment supports it, not because it is the version shown in a README. The right dark flavor is the one that leaves the entire interface available after several hours.

How Mocha handles readability

Primary Text on Base is clear, but Mocha intentionally lets secondary elements recede. Overlay 0 at #6c7086 commonly appears in comments, line numbers, or quiet labels. On a good screen in a dim room, that creates hierarchy. Under glare, it can look like missing information.

Test Mocha with the monitor at the brightness you actually use. Open a file containing comments, diagnostics, an inactive selection, and several panes. Check the sidebar, tab bar, gutter, and source-control indicators. If only the colorful syntax looks good, you have not finished evaluating the theme.

If comments are slightly too quiet, use a supported comment override. If the whole lower half of the hierarchy is disappearing, switch to Macchiato. Raising every Overlay and Surface value independently usually produces an inconsistent homemade flavor.

Using Mocha across your setup

Mocha has broad port coverage and is often the default shown in installation examples. That makes it easy to reproduce across an editor, terminal, browser, note app, launcher, and desktop shell. Still, confirm the flavor in each port; an app using Macchiato beside several Mocha windows can look accidentally faded.

For an editor-first setup, use the Catppuccin VS Code guide. If your configuration is in Lua, the Catppuccin Neovim guide covers flavor selection, integrations, and validation.

Add apps one at a time. Mocha's appeal comes from consistent surface relationships; collecting many unrelated “Catppuccin-inspired” presets can produce a desktop where every window uses a different dark purple.

When not to choose Mocha

Mocha is a poor choice for direct sunlight, bright open offices, and displays with weak shadow detail. It may also be tiring if your work moves constantly between a dark editor and white documents or websites.

If you keep increasing font weight, brightening comments, and replacing dark surfaces, you are probably trying to rebuild Macchiato. Switching flavor is cleaner than correcting Mocha role by role.

A practical Mocha setup checklist

  1. Install an official or actively maintained Catppuccin port.
  2. Select Mocha explicitly and restart the app if required.
  3. Check Base, Mantle, Crust, comments, selections, and diagnostics.
  4. Test under your real evening lighting and normal display brightness.
  5. Move to Macchiato if secondary information consistently disappears.

The complete Catppuccin theme guide explains how Mocha's accent and surface roles fit the wider system.

Catppuccin Mocha FAQ

Is Catppuccin Mocha the darkest flavor?

Yes. Mocha is darker than Macchiato and Frappé. Latte is the separate light flavor.

What is the Catppuccin Mocha background color?

The main Base color is #1e1e2e. Mantle is #181825, and Crust is #11111b.

Why is Catppuccin Mocha popular?

Its deep purple-navy surfaces give the pastel accents strong visual separation, creating the recognizable Catppuccin look seen in many editor and desktop screenshots.

Is Mocha good for daytime use?

It can work on a high-contrast display away from reflections, but Macchiato, Frappé, or Latte usually preserves more interface detail in bright environments.

Color values and flavor descriptions follow the official Catppuccin palette and official style guide.

Back to blog

Leave a comment