Tailwind CSS v4 default palette
Tailwind fuchsia-600: #C800DE
In Tailwind CSS v4, fuchsia-600 is defined as --color-fuchsia-600: oklch(59.1% 0.293 322.896), which is #C800DE in hex and rgb(200, 0, 222): a medium, vivid purple. In Tailwind v3, fuchsia-600 was #C026D3.
In OKLCH, fuchsia-600 has a lightness of 59.1%, chroma 0.293 and hue 322.9°.
This OKLCH value lies outside sRGB. The hex #C800DE 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.7166 0.0837 0.841).
In v3, fuchsia-600 was #C026D3. The v4 value is ΔE OK 3.6 away; v4 is more saturated.
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-600
| Tailwind v4 token | --color-fuchsia-600 |
|---|---|
| OKLCH (source value) | oklch(59.1% 0.293 322.896) |
| HEX | #C800DE |
| RGB | rgb(200, 0, 222) |
| HSL | hsl(294, 100%, 44%) |
| HWB | hwb(294 0% 13%) |
| CMYK (naive, no ICC profile) | cmyk(10%, 100%, 0%, 13%) |
| Decimal | 13,107,422 |
| Display P3 | color(display-p3 0.7166 0.0837 0.841) |
| Tailwind v3 hex | #C026D3 |
| Utility classes | bg-fuchsia-600, text-fuchsia-600, border-fuchsia-600 |
Tailwind fuchsia scale
Contrast and accessibility
On fuchsia-600, white text has a contrast ratio of 4.65:1 and passes AA for normal text; black text reaches 4.51: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 fuchsia-600 | 4.51:1 | Pass | Pass | Fail | Pass | 34.4 |
| White text on fuchsia-600 | 4.65:1 | Pass | Pass | Fail | Pass | −75.2 |
| Fuchsia-600 text on white | 4.65:1 | Pass | Pass | Fail | Pass | 69.7 |
| Fuchsia-600 text on black | 4.51:1 | Pass | Pass | Fail | Pass | −31.9 |
Tints and shades
Each step mixes var(--color-fuchsia-600) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-fuchsia-600), white 25%) in CSS.
Tints (mixed with white)
- 5%
#cb0de0 - 15%
#d026e3 - 25%
#d640e6 - 35%
#db59ea - 45%
#e173ed - 55%
#e68cf0 - 65%
#eca6f3 - 75%
#f1bff7 - 85%
#f7d9fa - 95%
#fcf2fd
Shades (mixed with black)
- 5%
#be00d3 - 15%
#aa00bd - 25%
#9600a7 - 35%
#820090 - 45%
#6e007a - 55%
#5a0064 - 65%
#46004e - 75%
#320038 - 85%
#1e0021 - 95%
#0a000b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-600's complementary color is #009B00 (close to forestgreen), its analogous colors are #8C40FF and #E5008B, and its triadic partners are #A67300 and #00919D. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #009b00 |
| Analogous | −30°, +30° | #8c40ff#e5008b |
| Triadic | +120°, +240° | #a67300#00919d |
| Split-complementary | +150°, +210° | #7f8500#009676 |
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-600 is a cool color: its hue is 294° 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
| Color | HEX | ΔE OK |
|---|---|---|
| darkorchid | #9932cc | 9.7 |
| mediumorchid | #ba55d3 | 9.8 |
| darkviolet | #9400d3 | 10.4 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| fuchsia-500 | #e12afb | 7.6 |
| fuchsia-700 | #a800b7 | 8.3 |
| purple-500 | #ad46ff | 10.3 |
Code snippets
<div class="bg-fuchsia-600 text-white">...</div>
<p class="text-fuchsia-600 border-fuchsia-600">...</p>.element {
color: var(--color-fuchsia-600);
background-color: oklch(59.1% 0.293 322.896);
border-color: #c800de;
outline-color: rgb(200 0 222);
}import SwiftUI
extension Color {
static let fuchsia600 = Color(red: 0.784, green: 0.000, blue: 0.871)
}import androidx.compose.ui.graphics.Color
val Fuchsia600 = Color(0xFFC800DE)import 'package:flutter/material.dart';
const fuchsia600 = Color(0xFFC800DE);<!-- res/values/colors.xml -->
<color name="fuchsia_600">#C800DE</color>Frequently asked questions
- What is the hex code for Tailwind fuchsia-600?
- In Tailwind CSS v4, fuchsia-600 is oklch(59.1% 0.293 322.896), which converts to #C800DE (rgb(200, 0, 222)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #C026D3.
- What is the difference between fuchsia-600 in Tailwind v3 and v4?
- v3 used the hex #C026D3; v4 redefined the palette in OKLCH as oklch(59.1% 0.293 322.896). In v3, fuchsia-600 was #C026D3. The v4 value is ΔE OK 3.6 away; v4 is more saturated.
- How do I use fuchsia-600 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-600). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on fuchsia-600?
- White text on fuchsia-600 has a contrast ratio of 4.65:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 4.51:1 and passes AA for normal text but not AAA. In APCA terms that is Lc −75.2 for white and Lc 34.4 for black.
- Which CSS named color is closest to fuchsia-600?
- The closest is darkorchid (#9932CC) at ΔE OK 9.7, followed by mediumorchid and darkviolet.
Last reviewed by Arielton Oberek.