Tailwind CSS v3 color

Tailwind fuchsia-100 #FAE8FF

Tailwind CSS v3's fuchsia-100 is #FAE8FF. It is a pale grayish magenta in the violet family. In OKLCH it sits at lightness 0.952, chroma 0.036 and hue 318.9°. The nearest CSS named color is lavenderblush (#FFF0F5), ΔE2000 7.2 away.

Relative luminance
0.8526
OKLCH L · C · h
0.952 · 0.036 · 318.9
Best text
Black 18.05:1
Hue family
Violet

#FAE8FF color codes

HEX
#FAE8FF
RGB
rgb(250, 232, 255)
HSL
hsl(287, 100%, 95%)
OKLCH
oklch(0.952 0.036 318.9)
OKLab
oklab(0.952 0.027 -0.024)
CIELAB (D65)
L* 93.99, a* 10.11, b* -8.88
XYZ (D65)
X 86.33, Y 85.26, Z 106.50
CMYK (naive)
cmyk(2%, 9%, 0%, 0%)

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 #FAE8FF accessible?

Black text on it reaches 18.05:1, passing AAA. White text fails at 1.16: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

    18.05:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +95
  • White text on it

    1.16:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −9

    Text is here, unreadable at 1.16:1

  • As text on black

    18.05:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −96
  • As text on white

    1.16:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +7

    Text is here, unreadable at 1.16:1

Nearest versions that pass 4.5:1

  • For text on white

    #807084 4.59:1

    Darkening its OKLCH lightness from 0.95 to 0.57 reaches 4.59:1 on white, keeping the hue.

  • For text on black

    #FAE8FF 18.05:1

    It already reaches 18.05:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FAE8FF 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.

The studio needs JavaScript.

Scale

Shades and tints of #FAE8FF

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FAE8FF sits at step 100.

  1. 50#FCF1FF
    White
    1.09
    Black
    19.16
  2. 100This color#FAE8FF
    White
    1.16
    Black
    18.05
  3. 200#E1D1E5
    White
    1.45
    Black
    14.45
  4. 300#C7B7CC
    White
    1.89
    Black
    11.07
  5. 400#AB9BB0
    White
    2.60
    Black
    8.04
  6. 500#908094
    White
    3.68
    Black
    5.70
  7. 600#78687C
    White
    5.15
    Black
    4.06
  8. 700#615265
    White
    7.23
    Black
    2.90
  9. 800#473A4B
    White
    10.63
    Black
    1.97
  10. 900#2F2433
    White
    14.77
    Black
    1.42
  11. 950#1B121E
    White
    18.23
    Black
    1.15

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.

  1. 50#FDF4FF
    White
    1.07
    Black
    19.56
  2. 100This color#FAE8FF
    White
    1.16
    Black
    18.05
  3. 200#F5D0FE
    White
    1.36
    Black
    15.33
  4. 300#F0ABFC
    White
    1.75
    Black
    11.93
  5. 400#E879F9
    White
    2.46
    Black
    8.53
  6. 500#D946EF
    White
    3.45
    Black
    6.07
  7. 600#C026D3
    White
    4.70
    Black
    4.45
  8. 700#A21CAF
    White
    6.32
    Black
    3.32
  9. 800#86198F
    White
    8.23
    Black
    2.54
  10. 900#701A75
    White
    10.03
    Black
    2.09
  11. 950#4A044E
    White
    14.80
    Black
    1.41

Gamut

How vivid #FAE8FF can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.036; #FAE8FF uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.040 there: 12% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.036
sRGB edge
0.036
Display P3 edge
0.040
Rec. 2020 edge
0.041
Dominant wavelength
Complementary 556 nm
Excitation purity
8%
Chromaticity
x 0.3104, y 0.3066
  • This color#FAE8FF
  • Most vivid in sRGB#FAE8FF
  • Most vivid in Display P3oklch(0.952 0.040 318.9)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #fae8ff;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9721 0.9092 1); }
}

Mixing

Mixing #FAE8FF

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%#FDF4FF
  • OKLab50%#FDF4FF
  • OKLCH50%#FDF4FF

Black #000000

  • sRGB50%#7D7480
  • OKLab50%#615963
  • OKLCH50%#615963

Its complement #E3F5DE

  • sRGB50%#EFEFEF
  • OKLab50%#EFEFEF
  • OKLCH50%#DCF3FF
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #fae8ff, white);
color: color-mix(in oklch, #fae8ff 50%, white);

In use

#FAE8FF 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:118.05:1 Passes
  • Link and body-size textText, 4.5:11.16:1 Fails
  • Large headingLarge text, 3:11.16:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.16:1 Fails

For text on this page, the nearest shade that passes is #807084 4.59:1

Dark page

  • Button labelText, 4.5:118.05:1 Passes
  • Link and body-size textText, 4.5:116.10:1 Passes
  • Large headingLarge text, 3:116.10:1 Passes
  • Icons, borders and focus ringsNon-text, 3:116.10:1 Passes

Color vision

How #FAE8FF looks with color blindness

Achromatopsia changes it most, ΔE2000 12.6; tritanopia changes it least, 6.9.

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

    #E6EDFF ΔE2000 10.7

    Distinct

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #E9EEFE ΔE2000 10.1

    Distinct

    Reads as pale grayish blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #FAEAEF ΔE2000 6.9

    Noticeable

    Reads as off-white

  • Achromatopsia

    No cone color vision; lightness only

    #EEEEEE ΔE2000 12.6

    Distinct

    Reads as off-white

Pairing check

Checked against its complement, #E3F5DE. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#FAE8FF · #E3F5DE29.5Stays distinct
Protanopia#E6EDFF · #F7F1DD17.6Stays distinct
Deuteranopia#E9EEFE · #F4EFDF14.9Stays distinct
Tritanopia#FAEAEF · #E2F3EE17.1Stays distinct
Achromatopsia#EEEEEE · #F0F0F00.4Easily confused

Harmony

Color harmonies for #FAE8FF

Its complement is #E3F5DE, a pale grayish green.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#FAE8FF
  • Complement#E3F5DE

Complementary

Open in Harmony Studio
  • −30°#EEEDFF
  • Base#FAE8FF
  • +30°#FFE8F2
  • Base#FAE8FF
  • +120°#FDEDD5
  • +240°#D4F7F8
  • Base#FAE8FF
  • +150°#F1F2D6
  • +210°#D9F7EB

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-fuchsia-100: #fae8ff;
}

Tailwind config

// tailwind.config.js — already built in as fuchsia-100;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        fuchsia: { 100: '#fae8ff' },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own fuchsia-100; this pins the v3 value. */
  --color-fuchsia-100: oklch(0.952 0.036 318.9);
}

Design token (W3C DTCG)

{
  "color": {
    "fuchsia-100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9804, 0.9098, 1],
        "hex": "#fae8ff"
      },
      "$description": "Tailwind CSS v3 fuchsia-100"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let fuchsia100 = Color(.sRGB, red: 0.980, green: 0.910, blue: 1.000, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Fuchsia100 = Color(0xFFFAE8FF)
}

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 #FAE8FF in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.