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.
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
| Tailwind v4 token | --color-mauve-100 |
|---|---|
| OKLCH (source value) | oklch(96% 0.003 325.6) |
| HEX | #F3F1F3 |
| RGB | rgb(243, 241, 243) |
| HSL | hsl(300, 8%, 95%) |
| HWB | hwb(300 95% 5%) |
| CMYK (naive, no ICC profile) | cmyk(0%, 1%, 0%, 5%) |
| Decimal | 15,987,187 |
| Utility classes | bg-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.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on mauve-100 | 18.68:1 | Pass | Pass | Pass | Pass | 98.0 |
| White text on mauve-100 | 1.12:1 | Fail | Fail | Fail | Fail | 0.0 |
| Mauve-100 text on white | 1.12:1 | Fail | Fail | Fail | Fail | 0.0 |
| Mauve-100 text on black | 18.68:1 | Pass | Pass | Pass | Pass | −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)
- 5%
#f4f2f4 - 15%
#f5f3f5 - 25%
#f6f5f6 - 35%
#f7f6f7 - 45%
#f8f7f8 - 55%
#faf9fa - 65%
#fbfafb - 75%
#fcfcfc - 85%
#fdfdfd - 95%
#fefefe
Shades (mixed with black)
- 5%
#e7e5e7 - 15%
#cfcdcf - 25%
#b6b5b6 - 35%
#9e9d9e - 45%
#868586 - 55%
#6d6c6d - 65%
#555455 - 75%
#3d3c3d - 85%
#242424 - 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.
| Harmony | Rotation | Color |
|---|---|---|
| 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
| Color | HEX | ΔE OK |
|---|---|---|
| whitesmoke | #f5f5f5 | 1.1 |
| lavenderblush | #fff0f5 | 1.7 |
| linen | #faf0e6 | 1.8 |
Code snippets
<div class="bg-mauve-100 text-black">...</div>
<p class="text-mauve-100 border-mauve-100">...</p>.element {
color: var(--color-mauve-100);
background-color: oklch(96% 0.003 325.6);
border-color: #f3f1f3;
outline-color: rgb(243 241 243);
}import SwiftUI
extension Color {
static let mauve100 = Color(red: 0.953, green: 0.945, blue: 0.953)
}import androidx.compose.ui.graphics.Color
val Mauve100 = Color(0xFFF3F1F3)import 'package:flutter/material.dart';
const mauve100 = Color(0xFFF3F1F3);<!-- 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.