#F0CAFB

Closest named color: Light Lilac (#EDC8FF). oklch(88.7% 0.077 318.6), rgb(240, 202, 251).

Aa

Black text reads best on this color (14.54:1).

About this color

#F0CAFB is a light, moderately saturated purple. In OKLCH its lightness is 89%, its chroma 0.077 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Lilac (#EDC8FF), ΔE 0.010 away. Black text reads best on it, at 14.54:1.

Hue familyPurples
Lightnesslight (89%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameLight Lilac (#EDC8FF)
Black text14.54:1
White text1.44:1

Values

HEX#F0CAFB
RGBrgb(240, 202, 251)
HSLhsl(287, 86%, 89%)
OKLCHoklch(88.7% 0.077 318.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #F0CAFB 1.44:1 Fails Lc -24.1 Dividers and decoration only
Black text on #F0CAFB 14.54:1 AAA Lc 82.5 Fine for body text
#F0CAFB text on white 1.44:1 Fails Lc 21.2 Dividers and decoration only
#F0CAFB text on black 14.54:1 AAA Lc -82.2 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200 (this color)

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  4. Step 300

    300

    #DCACEA

    oklch(80.8% 0.1 318.5)

  5. Step 400

    400

    #CA7DDF

    oklch(70.7% 0.159 318.8)

  6. Step 500

    500

    #BB57D6

    oklch(63.1% 0.203 318.6)

  7. Step 600

    600

    #A735C3

    oklch(55.6% 0.221 318.9)

  8. Step 700

    700

    #8F25A9

    oklch(49.2% 0.206 318.6)

  9. Step 800

    800

    #742289

    oklch(42.8% 0.171 318.5)

  10. Step 900

    900

    #5E236D

    oklch(37.7% 0.132 318.9)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#F0CAFB with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#C5D4FD0.061
Deuteranopia (no green cones)#CDD8F90.058
Tritanopia (no blue cones)#F1CFDB0.050
Achromatopsia (no color)#D7D7D70.078

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #F0CAFB

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  • #C0E7B5

    #C0E7B5

    oklch(88.7% 0.079 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0CAFB

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  • #D7D4FF

    #D7D4FF

    oklch(88.6% 0.059 288.3)

  • #FFC7E2

    #FFC7E2

    oklch(88.7% 0.072 348.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #F0CAFB

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  • #DDDEA3

    #DDDEA3

    oklch(88.6% 0.077 108.7)

  • #A7EBD0

    #A7EBD0

    oklch(88.7% 0.078 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0CAFB

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  • #F6D4A0

    #F6D4A0

    oklch(88.6% 0.077 78.1)

  • #9BEAED

    #9BEAED

    oklch(88.7% 0.077 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0CAFB

    #F0CAFB

    oklch(88.7% 0.077 318.6)

  • #FFCEB4

    #FFCEB4

    oklch(88.8% 0.066 49.4)

  • #C0E7B5

    #C0E7B5

    oklch(88.7% 0.079 138.8)

  • #A9E3FF

    #A9E3FF

    oklch(88.6% 0.071 229.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F0CAFB, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #F0CAFB in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.