Tailwind CSS v4 default palette
Tailwind fuchsia-700: #A800B7
In Tailwind CSS v4, fuchsia-700 is defined as --color-fuchsia-700: oklch(51.8% 0.253 323.949), which is #A800B7 in hex and rgb(168, 0, 183): a medium-dark, vivid purple. In Tailwind v3, fuchsia-700 was #A21CAF.
In OKLCH, fuchsia-700 has a lightness of 51.8%, chroma 0.253 and hue 323.9°.
This OKLCH value lies outside sRGB. The hex #A800B7 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.6017 0.0776 0.6928).
In v3, fuchsia-700 was #A21CAF. The v4 value is ΔE OK 2.7 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-700
| Tailwind v4 token | --color-fuchsia-700 |
|---|---|
| OKLCH (source value) | oklch(51.8% 0.253 323.949) |
| HEX | #A800B7 |
| RGB | rgb(168, 0, 183) |
| HSL | hsl(295, 100%, 36%) |
| HWB | hwb(295 0% 28%) |
| CMYK (naive, no ICC profile) | cmyk(8%, 100%, 0%, 28%) |
| Decimal | 11,010,231 |
| Display P3 | color(display-p3 0.6017 0.0776 0.6928) |
| Tailwind v3 hex | #A21CAF |
| Utility classes | bg-fuchsia-700, text-fuchsia-700, border-fuchsia-700 |
Tailwind fuchsia scale
Contrast and accessibility
On fuchsia-700, white text has a contrast ratio of 6.27:1 and passes AA for normal text; black text reaches 3.34: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-700 | 3.34:1 | Fail | Pass | Fail | Fail | 25.3 |
| White text on fuchsia-700 | 6.27:1 | Pass | Pass | Fail | Pass | −84.0 |
| Fuchsia-700 text on white | 6.27:1 | Pass | Pass | Fail | Pass | 78.8 |
| Fuchsia-700 text on black | 3.34:1 | Fail | Pass | Fail | Fail | −23.0 |
Tints and shades
Each step mixes var(--color-fuchsia-700) with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, var(--color-fuchsia-700), white 25%) in CSS.
Tints (mixed with white)
- 5%
#ac0dbb - 15%
#b526c2 - 25%
#be40c9 - 35%
#c659d0 - 45%
#cf73d7 - 55%
#d88cdf - 65%
#e1a6e6 - 75%
#e9bfed - 85%
#f2d9f4 - 95%
#fbf2fb
Shades (mixed with black)
- 5%
#a000ae - 15%
#8f009c - 25%
#7e0089 - 35%
#6d0077 - 45%
#5c0065 - 55%
#4c0052 - 65%
#3b0040 - 75%
#2a002e - 85%
#19001b - 95%
#080009
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, fuchsia-700's complementary color is #008200 (close to green), its analogous colors are #782BE7 and #C10071, and its triadic partners are #8A6000 and #007985. For text on top, white gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #008200 |
| Analogous | −30°, +30° | #782be7#c10071 |
| Triadic | +120°, +240° | #8a6000#007985 |
| Split-complementary | +150°, +210° | #697000#007e63 |
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-700 is a cool color: its hue is 295° 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 | 6.2 |
| darkviolet | #9400d3 | 6.4 |
| darkmagenta | #8b008b | 8.7 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| fuchsia-800 | #8a0194 | 7.8 |
| fuchsia-600 | #c800de | 8.3 |
| purple-700 | #8200db | 10.2 |
Code snippets
<div class="bg-fuchsia-700 text-white">...</div>
<p class="text-fuchsia-700 border-fuchsia-700">...</p>.element {
color: var(--color-fuchsia-700);
background-color: oklch(51.8% 0.253 323.949);
border-color: #a800b7;
outline-color: rgb(168 0 183);
}import SwiftUI
extension Color {
static let fuchsia700 = Color(red: 0.659, green: 0.000, blue: 0.718)
}import androidx.compose.ui.graphics.Color
val Fuchsia700 = Color(0xFFA800B7)import 'package:flutter/material.dart';
const fuchsia700 = Color(0xFFA800B7);<!-- res/values/colors.xml -->
<color name="fuchsia_700">#A800B7</color>Frequently asked questions
- What is the hex code for Tailwind fuchsia-700?
- In Tailwind CSS v4, fuchsia-700 is oklch(51.8% 0.253 323.949), which converts to #A800B7 (rgb(168, 0, 183)) in sRGB after gamut mapping, because the OKLCH value is outside sRGB. In Tailwind v3 the same name was #A21CAF.
- What is the difference between fuchsia-700 in Tailwind v3 and v4?
- v3 used the hex #A21CAF; v4 redefined the palette in OKLCH as oklch(51.8% 0.253 323.949). In v3, fuchsia-700 was #A21CAF. The v4 value is ΔE OK 2.7 away; v4 is more saturated.
- How do I use fuchsia-700 in plain CSS?
- Tailwind v4 defines every palette color as a theme variable, so in CSS you write var(--color-fuchsia-700). By default Tailwind only emits the variables your project uses; @theme static emits all of them.
- Can you use white text on fuchsia-700?
- White text on fuchsia-700 has a contrast ratio of 6.27:1, which passes AA for normal text but not AAA under WCAG 2.2. Black text reaches 3.34:1 and passes AA only for large text (24 px, or 18.66 px bold, and up). In APCA terms that is Lc −84.0 for white and Lc 25.3 for black.
- Which CSS named color is closest to fuchsia-700?
- The closest is darkorchid (#9932CC) at ΔE OK 6.2, followed by darkviolet and darkmagenta.
Last reviewed by Arielton Oberek.