#ECCAFC

Closest named color: Light Lilac (#EDC8FF). oklch(88.3% 0.077 314.9), rgb(236, 202, 252).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (88%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameLight Lilac (#EDC8FF)
Black text14.42:1
White text1.45:1

Values

HEX#ECCAFC
RGBrgb(236, 202, 252)
HSLhsl(281, 89%, 89%)
OKLCHoklch(88.3% 0.077 314.9)

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 #ECCAFC 1.45:1 Fails Lc -24.7 Dividers and decoration only
Black text on #ECCAFC 14.42:1 AAA Lc 82.0 Fine for body text
#ECCAFC text on white 1.45:1 Fails Lc 21.7 Dividers and decoration only
#ECCAFC text on black 14.42:1 AAA Lc -81.6 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200 (this color)

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  4. Step 300

    300

    #D9AEED

    oklch(81% 0.098 314.9)

  5. Step 400

    400

    #C57FE3

    oklch(70.6% 0.158 315.1)

  6. Step 500

    500

    #B65ADB

    oklch(63.2% 0.201 315.1)

  7. Step 600

    600

    #A139C8

    oklch(55.5% 0.219 315.1)

  8. Step 700

    700

    #8A29AD

    oklch(49.1% 0.204 315.2)

  9. Step 800

    800

    #70258C

    oklch(42.7% 0.168 315.1)

  10. Step 900

    900

    #5B2570

    oklch(37.8% 0.131 315.2)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#ECCAFC 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)#C4D4FE0.057
Deuteranopia (no green cones)#CBD7FA0.054
Tritanopia (no blue cones)#EBD0DB0.053
Achromatopsia (no color)#D6D6D60.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCAFC

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  • #C3E5B2

    #C3E5B2

    oklch(88.4% 0.077 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCAFC

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  • #D4D4FF

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  • #FFC5E4

    #FFC5E4

    oklch(88.4% 0.077 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #ECCAFC

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  • #E0DCA1

    #E0DCA1

    oklch(88.4% 0.077 104.6)

  • #A9E9CC

    #A9E9CC

    oklch(88.3% 0.076 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCAFC

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  • #F7D2A0

    #F7D2A0

    oklch(88.3% 0.077 74.9)

  • #9BE9E8

    #9BE9E8

    oklch(88.3% 0.077 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCAFC

    #ECCAFC

    oklch(88.3% 0.077 314.9)

  • #FFCCB5

    #FFCCB5

    oklch(88.4% 0.066 45.5)

  • #C3E5B2

    #C3E5B2

    oklch(88.4% 0.077 135.3)

  • #A1E4FF

    #A1E4FF

    oklch(88.3% 0.077 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #ECCAFC 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.