Tailwind CSS v3 color
Tailwind fuchsia-300 #F0ABFC
Tailwind CSS v3's fuchsia-300 is #F0ABFC. It is a pale soft magenta in the violet family. In OKLCH it sits at lightness 0.833, chroma 0.132 and hue 321.4°. The nearest CSS named color is plum (#DDA0DD), ΔE2000 5.4 away.
- Relative luminance
- 0.5468
- OKLCH L · C · h
- 0.833 · 0.132 · 321.4
- Best text
- Black 11.93:1
- Hue family
- Violet
#F0ABFC color codes
- HEX
#F0ABFC- RGB
rgb(240, 171, 252)- HSL
hsl(291, 93%, 83%)- OKLCH
oklch(0.833 0.132 321.4)- OKLab
oklab(0.833 0.103 -0.082)- CIELAB (D65)
L* 78.86, a* 38.47, b* -30.24- XYZ (D65)
X 68.07, Y 54.68, Z 99.05- CMYK (naive)
cmyk(5%, 32%, 0%, 1%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #F0ABFC accessible?
Black text on it reaches 11.93:1, passing AAA. White text fails at 1.75:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
11.93:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +71
-
White text on it
1.75:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −36
-
As text on black
11.93:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −70
-
As text on white
1.75:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +32
Nearest versions that pass 4.5:1
-
For text on white
#9E5EAA 4.53:1
Darkening its OKLCH lightness from 0.83 to 0.58 reaches 4.53:1 on white, keeping the hue.
-
For text on black
#F0ABFC 11.93:1
It already reaches 11.93:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #F0ABFC live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #F0ABFC
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #F0ABFC sits at step 300.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Tailwind CSS v3 fuchsia scale
The real Tailwind palette, for comparison with the computed ramp above.
Gamut
How vivid #F0ABFC can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.140; #F0ABFC uses 94% of it. Display P3, which many recent phones and laptops show, reaches 0.155 there: 11% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.132
- sRGB edge
- 0.140
- Display P3 edge
- 0.155
- Rec. 2020 edge
- 0.159
- Dominant wavelength
- Complementary 555 nm
- Excitation purity
- 30%
- Chromaticity
- x 0.3069, y 0.2465
- This color#F0ABFC
- Most vivid in sRGB#F2A9FF
- Most vivid in Display P3oklch(0.833 0.155 321.4)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #f0abfc;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.9199 0.6603 1); }
}
Mixing
Mixing #F0ABFC
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#F8D5FE
- OKLab50%#F9D6FE
- OKLCH50%#F9D6FE
Black #000000
- sRGB50%#78567E
- OKLab50%#5D4062
- OKLCH50%#5D4062
Its complement #96DE8C
- sRGB50%#C3C5C4
- OKLab50%#C8C8C8
- OKLCH50%#7FD4FF
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #f0abfc, white);
color: color-mix(in oklch, #f0abfc 50%, white);
In use
#F0ABFC in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:111.93:1 Passes
- Link and body-size textText, 4.5:11.75:1 Fails
- Large headingLarge text, 3:11.75:1 Fails
- Icons, borders and focus ringsNon-text, 3:11.75:1 Fails
For text on this page, the nearest shade that passes is #9E5EAA 4.53:1
Dark page
- Button labelText, 4.5:111.93:1 Passes
- Link and body-size textText, 4.5:110.64:1 Passes
- Large headingLarge text, 3:110.64:1 Passes
- Icons, borders and focus ringsNon-text, 3:110.64:1 Passes
Color vision
How #F0ABFC looks with color blindness
Achromatopsia changes it most, ΔE2000 24.4; tritanopia changes it least, 14.5.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#A2BEFF ΔE2000 22.2
Distinct
Reads as light muted blue
-
Deuteranopia
No working green (medium-wavelength) cones
#B3C6F9 ΔE2000 19.7
Distinct
Reads as pale muted blue
-
Tritanopia
No working blue (short-wavelength) cones
#F2B4C9 ΔE2000 14.5
Distinct
Reads as pale muted pink
-
Achromatopsia
No cone color vision; lightness only
#C3C3C3 ΔE2000 24.4
Distinct
Reads as light gray
Pairing check
Checked against its complement, #96DE8C. Their lightness contrast is only 1.09:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #F0ABFC · #96DE8C | 67.0 | Stays distinct |
| Protanopia | #A2BEFF · #E2D186 | 45.4 | Stays distinct |
| Deuteranopia | #B3C6F9 · #D7CA91 | 38.6 | Stays distinct |
| Tritanopia | #F2B4C9 · #90D9C9 | 43.4 | Stays distinct |
| Achromatopsia | #C3C3C3 · #CCCCCC | 2.2 | Easily confused |
Harmony
Color harmonies for #F0ABFC
Its complement is #96DE8C, a pale soft green.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#F0ABFC
- Complement#96DE8C
Complementary
Open in Harmony Studio- −30°#C8BEFF
- Base#F0ABFC
- +30°#FFABD0
Analogous
Open in Harmony Studio- Base#F0ABFC
- +120°#F4BF5A
- +240°#35E1EC
Triadic
Open in Harmony Studio- Base#F0ABFC
- +150°#CBD064
- +210°#5AE4BD
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-fuchsia-300: #f0abfc;
}
// tailwind.config.js — already built in as fuchsia-300;
// pin the v3 value explicitly like this:
module.exports = {
theme: {
extend: {
colors: {
fuchsia: { 300: '#f0abfc' },
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
/* v4 has its own fuchsia-300; this pins the v3 value. */
--color-fuchsia-300: oklch(0.833 0.132 321.4);
}
{
"color": {
"fuchsia-300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.9412, 0.6706, 0.9882],
"hex": "#f0abfc"
},
"$description": "Tailwind CSS v3 fuchsia-300"
}
}
}
import SwiftUI
enum Palette {
static let fuchsia300 = Color(.sRGB, red: 0.941, green: 0.671, blue: 0.988, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Fuchsia300 = Color(0xFFF0ABFC)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #F0ABFC in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.