Skip to content

Tailwind CSS v4 default palette

Tailwind fuchsia-200: #F6CFFF

In Tailwind CSS v4, fuchsia-200 is defined as --color-fuchsia-200: oklch(90.3% 0.076 319.62), which is #F6CFFF in hex and rgb(246, 207, 255): a pale, muted purple. In Tailwind v3, fuchsia-200 was #F5D0FE.

fuchsia-200#F6CFFF

In OKLCH, fuchsia-200 has a lightness of 90.3%, chroma 0.076 and hue 319.6°.

This OKLCH value lies outside sRGB. The hex #F6CFFF 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.9395 0.8189 0.988).

In v3, fuchsia-200 was #F5D0FE. The v4 value is ΔE OK 0.3 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-200

Color codes for fuchsia-200
Tailwind v4 token--color-fuchsia-200
OKLCH (source value)oklch(90.3% 0.076 319.62)
HEX#F6CFFF
RGBrgb(246, 207, 255)
HSLhsl(289, 100%, 91%)
HWBhwb(289 81% 0%)
CMYK (naive, no ICC profile)cmyk(4%, 19%, 0%, 0%)
Decimal16,175,103
Display P3color(display-p3 0.9395 0.8189 0.988)
Tailwind v3 hex#F5D0FE
Utility classesbg-fuchsia-200, text-fuchsia-200, border-fuchsia-200

Tailwind fuchsia scale

Contrast and accessibility

On fuchsia-200, black text has a contrast ratio of 15.28:1 and passes AAA at any text size; white text reaches 1.37: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-20015.28:1PassPassPassPass85.5
White text on fuchsia-2001.37:1FailFailFailFail−20.8
Fuchsia-200 text on white1.37:1FailFailFailFail18.2
Fuchsia-200 text on black15.28:1PassPassPassPass−85.3

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #f6d1ff
  2. 15%
    #f7d6ff
  3. 25%
    #f8dbff
  4. 35%
    #f9e0ff
  5. 45%
    #fae5ff
  6. 55%
    #fbe9ff
  7. 65%
    #fceeff
  8. 75%
    #fdf3ff
  9. 85%
    #fef8ff
  10. 95%
    #fffdff

Shades (mixed with black)

  1. 5%
    #eac5f2
  2. 15%
    #d1b0d9
  3. 25%
    #b99bbf
  4. 35%
    #a087a6
  5. 45%
    #87728c
  6. 55%
    #6f5d73
  7. 65%
    #564859
  8. 75%
    #3e3440
  9. 85%
    #251f26
  10. 95%
    #0c0a0d

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-200's complementary color is #C5ECBC (close to palegoldenrod), its analogous colors are #DDD8FF and #FFCBE6, and its triadic partners are #FADAA6 and #A2EFF3. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#c5ecbc
Analogous−30°, +30°#ddd8ff#ffcbe6
Triadic+120°, +240°#fadaa6#a2eff3
Split-complementary+150°, +210°#e2e4a9#acf0d7

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-200 is a cool color: its hue is 289° 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#e6e6fa6.2
pink#ffc0cb7.0
gainsboro#dcdcdc7.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
purple-200#e9d4ff2.0
pink-200#fccee83.2
violet-200#ddd6ff3.7

Code snippets

Tailwind CSS
<div class="bg-fuchsia-200 text-black">...</div>
<p class="text-fuchsia-200 border-fuchsia-200">...</p>
CSS
.element {
  color: var(--color-fuchsia-200);
  background-color: oklch(90.3% 0.076 319.62);
  border-color: #f6cfff;
  outline-color: rgb(246 207 255);
}
SwiftUI
import SwiftUI

extension Color {
  static let fuchsia200 = Color(red: 0.965, green: 0.812, blue: 1.000)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const fuchsia200 = Color(0xFFF6CFFF);
Android XML
<!-- res/values/colors.xml -->
<color name="fuchsia_200">#F6CFFF</color>

Frequently asked questions

What is the hex code for Tailwind fuchsia-200?
In Tailwind CSS v4, fuchsia-200 is oklch(90.3% 0.076 319.62), which converts to #F6CFFF (rgb(246, 207, 255)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #F5D0FE.
What is the difference between fuchsia-200 in Tailwind v3 and v4?
v3 used the hex #F5D0FE; v4 redefined the palette in OKLCH as oklch(90.3% 0.076 319.62). In v3, fuchsia-200 was #F5D0FE. The v4 value is ΔE OK 0.3 away, below the point where most people can tell them apart.
How do I use fuchsia-200 in plain CSS?
Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-200). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
Can you use white text on fuchsia-200?
White text on fuchsia-200 has a contrast ratio of 1.37:1, which fails AA even for large text under WCAG 2.2. Black text reaches 15.28:1 and passes both AA and AAA. In APCA terms that is Lc −20.8 for white and Lc 85.5 for black.
Which CSS named color is closest to fuchsia-200?
The closest is lavender (#E6E6FA) at ΔE OK 6.2, followed by pink and gainsboro.

Last reviewed by Arielton Oberek.