Tailwind CSS v4 default palette
Tailwind fuchsia-800: #8A0194
In Tailwind CSS v4, fuchsia-800 is defined as --color-fuchsia-800: oklch(45.2% 0.211 324.591), which is #8A0194 in hex and rgb(138, 1, 148): a medium-dark, vivid purple. In Tailwind v3, fuchsia-800 was #86198F.
In OKLCH, fuchsia-800 has a lightness of 45.2%, chroma 0.211 and hue 324.6°.
The value fits inside sRGB, so the hex #8A0194 represents it without loss on any screen.
In v3, fuchsia-800 was #86198F. The v4 value is ΔE OK 1.9 away, below the point where most people can tell them apart; 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-800
| Tailwind v4 token | --color-fuchsia-800 |
|---|---|
| OKLCH (source value) | oklch(45.2% 0.211 324.591) |
| HEX | #8A0194 |
| RGB | rgb(138, 1, 148) |
| HSL | hsl(296, 99%, 29%) |
| HWB | hwb(296 0% 42%) |
| CMYK (naive, no ICC profile) | cmyk(7%, 99%, 0%, 42%) |
| Decimal | 9,044,372 |
| Tailwind v3 hex | #86198F |
| Utility classes | bg-fuchsia-800, text-fuchsia-800, border-fuchsia-800 |
Tailwind fuchsia scale
Contrast and accessibility
On fuchsia-800, white text has a contrast ratio of 8.35:1 and passes AAA at any text size; black text reaches 2.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-800 | 2.51:1 | Fail | Fail | Fail | Fail | 17.4 |
| White text on fuchsia-800 | 8.35:1 | Pass | Pass | Pass | Pass | −91.4 |
| Fuchsia-800 text on white | 8.35:1 | Pass | Pass | Pass | Pass | 86.6 |
| Fuchsia-800 text on black | 2.51:1 | Fail | Fail | Fail | Fail | −15.5 |
Tints and shades
Each step mixes var(--color-fuchsia-800) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-fuchsia-800), white 25%) in CSS.
Tints (mixed with white)
- 5%
#900e99 - 15%
#9c27a4 - 25%
#a741af - 35%
#b35ab9 - 45%
#bf73c4 - 55%
#ca8dcf - 65%
#d6a6da - 75%
#e2c0e4 - 85%
#edd9ef - 95%
#f9f2fa
Shades (mixed with black)
- 5%
#83018d - 15%
#75017e - 25%
#68016f - 35%
#5a0160 - 45%
#4c0151 - 55%
#3e0043 - 65%
#300034 - 75%
#230025 - 85%
#150016 - 95%
#070007
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-800's complementary color is #006C00 (close to darkgreen), its analogous colors are #6327BB and #A2005C, and its triadic partners are #724F00 and #00646F. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #006c00 |
| Analogous | −30°, +30° | #6327bb#a2005c |
| Triadic | +120°, +240° | #724f00#00646f |
| Split-complementary | +150°, +210° | #555c00#006852 |
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-800 is a cool color: its hue is 296° 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 |
|---|---|---|
| darkmagenta | #8b008b | 1.6 |
| purple | #800080 | 3.8 |
| rebeccapurple | #663399 | 8.5 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| fuchsia-900 | #721378 | 6.6 |
| fuchsia-700 | #a800b7 | 7.8 |
| purple-800 | #6e11b0 | 7.9 |
Code snippets
<div class="bg-fuchsia-800 text-white">...</div>
<p class="text-fuchsia-800 border-fuchsia-800">...</p>.element {
color: var(--color-fuchsia-800);
background-color: oklch(45.2% 0.211 324.591);
border-color: #8a0194;
outline-color: rgb(138 1 148);
}import SwiftUI
extension Color {
static let fuchsia800 = Color(red: 0.541, green: 0.004, blue: 0.580)
}import androidx.compose.ui.graphics.Color
val Fuchsia800 = Color(0xFF8A0194)import 'package:flutter/material.dart';
const fuchsia800 = Color(0xFF8A0194);<!-- res/values/colors.xml -->
<color name="fuchsia_800">#8A0194</color>Frequently asked questions
- What is the hex code for Tailwind fuchsia-800?
- In Tailwind CSS v4, fuchsia-800 is oklch(45.2% 0.211 324.591), which converts to #8A0194 (rgb(138, 1, 148)) in sRGB. In Tailwind v3 the same name was #86198F.
- What is the difference between fuchsia-800 in Tailwind v3 and v4?
- v3 used the hex #86198F; v4 redefined the palette in OKLCH as oklch(45.2% 0.211 324.591). In v3, fuchsia-800 was #86198F. The v4 value is ΔE OK 1.9 away, below the point where most people can tell them apart; v4 is more saturated.
- How do I use fuchsia-800 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-800). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on fuchsia-800?
- White text on fuchsia-800 has a contrast ratio of 8.35:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.51:1 and fails AA even for large text. In APCA terms that is Lc −91.4 for white and Lc 17.4 for black.
- Which CSS named color is closest to fuchsia-800?
- The closest is darkmagenta (#8B008B) at ΔE OK 1.6, followed by purple and rebeccapurple.
Last reviewed by Arielton Oberek.