Skip to content

Tailwind CSS v4 default palette

Tailwind fuchsia-100: #FAE8FF

In Tailwind CSS v4, fuchsia-100 is defined as --color-fuchsia-100: oklch(95.2% 0.037 318.852), which is #FAE8FF in hex and rgb(250, 232, 255): an off-white with a purple tint. In Tailwind v3, fuchsia-100 was #FAE8FF.

fuchsia-100#FAE8FF

In OKLCH, fuchsia-100 has a lightness of 95.2%, chroma 0.037 and hue 318.9°.

This OKLCH value lies outside sRGB. The hex #FAE8FF is the sRGB fallback from the CSS Color 4 gamut mapping algorithm; on Display P3 screens browsers show a more saturated color, close to color(display-p3 0.9692 0.9115 0.995).

In v3, fuchsia-100 was #FAE8FF. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.

Tailwind fuchsia is a vivid magenta; several of its mid shades lie well outside sRGB and need gamut mapping on standard screens.

Color codes for fuchsia-100

Color codes for fuchsia-100
Tailwind v4 token--color-fuchsia-100
OKLCH (source value)oklch(95.2% 0.037 318.852)
HEX#FAE8FF
RGBrgb(250, 232, 255)
HSLhsl(287, 100%, 95%)
HWBhwb(287 91% 0%)
CMYK (naive, no ICC profile)cmyk(2%, 9%, 0%, 0%)
Decimal16,443,647
Display P3color(display-p3 0.9692 0.9115 0.995)
Tailwind v3 hex#FAE8FF
Utility classesbg-fuchsia-100, text-fuchsia-100, border-fuchsia-100

Tailwind fuchsia scale

Contrast and accessibility

On fuchsia-100, black text has a contrast ratio of 18.05:1 and passes AAA at any text size; white text reaches 1.16: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 fuchsia-10018.05:1PassPassPassPass95.8
White text on fuchsia-1001.16:1FailFailFailFail−9.1
Fuchsia-100 text on white1.16:1FailFailFailFail7.7
Fuchsia-100 text on black18.05:1PassPassPassPass−96.6

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #fae9ff
  2. 15%
    #fbebff
  3. 25%
    #fbeeff
  4. 35%
    #fcf0ff
  5. 45%
    #fcf2ff
  6. 55%
    #fdf5ff
  7. 65%
    #fdf7ff
  8. 75%
    #fef9ff
  9. 85%
    #fefcff
  10. 95%
    #fffeff

Shades (mixed with black)

  1. 5%
    #eedcf2
  2. 15%
    #d5c5d9
  3. 25%
    #bcaebf
  4. 35%
    #a397a6
  5. 45%
    #8a808c
  6. 55%
    #706873
  7. 65%
    #585159
  8. 75%
    #3f3a40
  9. 85%
    #262326
  10. 95%
    #0d0c0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-100's complementary color is #E3F6DE (close to beige), its analogous colors are #EEECFF and #FFE6F3, and its triadic partners are #FDEDD4 and #D4F7F8. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#e3f6de
Analogous−30°, +30°#eeecff#ffe6f3
Triadic+120°, +240°#fdedd4#d4f7f8
Split-complementary+150°, +210°#f1f2d6#d8f8eb

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 fuchsia-100 is a cool color: its hue is 287° on the HSL wheel, in the green, blue and violet range that is conventionally called cool.

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
lavender#e6e6fa2.9
lavenderblush#fff0f53.0
mistyrose#ffe4e13.9

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
purple-100#f3e8ff1.0
pink-100#fce7f31.6
violet-100#ede9fe1.8

Code snippets

Tailwind CSS
<div class="bg-fuchsia-100 text-black">...</div>
<p class="text-fuchsia-100 border-fuchsia-100">...</p>
CSS
.element {
  color: var(--color-fuchsia-100);
  background-color: oklch(95.2% 0.037 318.852);
  border-color: #fae8ff;
  outline-color: rgb(250 232 255);
}
SwiftUI
import SwiftUI

extension Color {
  static let fuchsia100 = Color(red: 0.980, green: 0.910, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const fuchsia100 = Color(0xFFFAE8FF);
Android XML
<!-- res/values/colors.xml -->
<color name="fuchsia_100">#FAE8FF</color>

Frequently asked questions

What is the hex code for Tailwind fuchsia-100?
In Tailwind CSS v4, fuchsia-100 is oklch(95.2% 0.037 318.852), which converts to #FAE8FF (rgb(250, 232, 255)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #FAE8FF.
What is the difference between fuchsia-100 in Tailwind v3 and v4?
v3 used the hex #FAE8FF; v4 redefined the palette in OKLCH as oklch(95.2% 0.037 318.852). In v3, fuchsia-100 was #FAE8FF. The v4 value is ΔE OK 0.1 away, below the point where most people can tell them apart.
How do I use fuchsia-100 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-100). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on fuchsia-100?
White text on fuchsia-100 has a contrast ratio of 1.16:1, which fails AA even for large text under WCAG 2.2. Black text reaches 18.05:1 and passes both AA and AAA. In APCA terms that is Lc −9.1 for white and Lc 95.8 for black.
Which CSS named color is closest to fuchsia-100?
The closest is lavender (#E6E6FA) at ΔE OK 2.9, followed by lavenderblush and mistyrose.

Last reviewed by Arielton Oberek.