Skip to content

Tailwind CSS v4 default palette

Tailwind mauve-100: #F3F1F3

In Tailwind CSS v4, mauve-100 is defined as --color-mauve-100: oklch(96% 0.003 325.6), which is #F3F1F3 in hex and rgb(243, 241, 243): a pale neutral gray.

mauve-100#F3F1F3

In OKLCH, mauve-100 has a lightness of 96.0%, chroma 0.003 and hue 325.6°.

The value fits inside sRGB, so the hex #F3F1F3 represents it without loss on any screen.

Tailwind mauve is one of four tinted neutral scales added in Tailwind CSS v4.2: a gray with a purple-pink cast. It has no v3 equivalent.

Color codes for mauve-100

Color codes for mauve-100
Tailwind v4 token--color-mauve-100
OKLCH (source value)oklch(96% 0.003 325.6)
HEX#F3F1F3
RGBrgb(243, 241, 243)
HSLhsl(300, 8%, 95%)
HWBhwb(300 95% 5%)
CMYK (naive, no ICC profile)cmyk(0%, 1%, 0%, 5%)
Decimal15,987,187
Utility classesbg-mauve-100, text-mauve-100, border-mauve-100

Tailwind mauve scale

Contrast and accessibility

On mauve-100, black text has a contrast ratio of 18.68:1 and passes AAA at any text size; white text reaches 1.12:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on mauve-10018.68:1PassPassPassPass98.0
White text on mauve-1001.12:1FailFailFailFail0.0
Mauve-100 text on white1.12:1FailFailFailFail0.0
Mauve-100 text on black18.68:1PassPassPassPass−99.1

Tints and shades

Each step mixes var(--color-mauve-100) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-mauve-100), white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #f4f2f4
  2. 15%
    #f5f3f5
  3. 25%
    #f6f5f6
  4. 35%
    #f7f6f7
  5. 45%
    #f8f7f8
  6. 55%
    #faf9fa
  7. 65%
    #fbfafb
  8. 75%
    #fcfcfc
  9. 85%
    #fdfdfd
  10. 95%
    #fefefe

Shades (mixed with black)

  1. 5%
    #e7e5e7
  2. 15%
    #cfcdcf
  3. 25%
    #b6b5b6
  4. 35%
    #9e9d9e
  5. 45%
    #868586
  6. 55%
    #6d6c6d
  7. 65%
    #555455
  8. 75%
    #3d3c3d
  9. 85%
    #242424
  10. 95%
    #0c0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, mauve-100's complementary color is #F0F2F0 (close to whitesmoke), its analogous colors are #F2F1F4 and #F3F1F2, and its triadic partners are #F3F2EF and #F0F2F3. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#f0f2f0
Analogous−30°, +30°#f2f1f4#f3f1f2
Triadic+120°, +240°#f3f2ef#f0f2f3
Split-complementary+150°, +210°#f1f2f0#f0f2f2

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

Tailwind mauve-100 is close to neutral: its OKLCH chroma is only 0.003, so its temperature comes from context. It has no perceptible hue.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
whitesmoke#f5f5f51.1
lavenderblush#fff0f51.7
linen#faf0e61.8

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
taupe-100#f3f1f10.2
mist-100#f1f3f30.5
zinc-100#f4f4f50.7

Code snippets

Tailwind CSS
<div class="bg-mauve-100 text-black">...</div>
<p class="text-mauve-100 border-mauve-100">...</p>
CSS
.element {
  color: var(--color-mauve-100);
  background-color: oklch(96% 0.003 325.6);
  border-color: #f3f1f3;
  outline-color: rgb(243 241 243);
}
SwiftUI
import SwiftUI

extension Color {
  static let mauve100 = Color(red: 0.953, green: 0.945, blue: 0.953)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Mauve100 = Color(0xFFF3F1F3)
Flutter
import 'package:flutter/material.dart';

const mauve100 = Color(0xFFF3F1F3);
Android XML
<!-- res/values/colors.xml -->
<color name="mauve_100">#F3F1F3</color>

Frequently asked questions

What is the hex code for Tailwind mauve-100?
In Tailwind CSS v4, mauve-100 is oklch(96% 0.003 325.6), which converts to #F3F1F3 (rgb(243, 241, 243)) in sRGB.
Is mauve-100 available in Tailwind v3?
No. The mauve scale was added in Tailwind CSS v4.2. In v3 you can recreate it in tailwind.config.js under theme.extend.colors with the hex #F3F1F3.
How do I use mauve-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-mauve-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on mauve-100?
White text on mauve-100 has a contrast ratio of 1.12:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.68:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 98.0 for black.
Which CSS named color is closest to mauve-100?
The closest is whitesmoke (#F5F5F5) at ΔE OK 1.1, followed by lavenderblush and linen.

Last reviewed by Arielton Oberek.