#ECCAF7

Closest named color: Light Lilac (#EDC8FF). oklch(88.2% 0.071 317.8), rgb(236, 202, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (88%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameLight Lilac (#EDC8FF)
Black text14.35:1
White text1.46:1

Values

HEX#ECCAF7
RGBrgb(236, 202, 247)
HSLhsl(285, 74%, 88%)
OKLCHoklch(88.2% 0.071 317.8)

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 #ECCAF7 1.46:1 Fails Lc -24.9 Dividers and decoration only
Black text on #ECCAF7 14.35:1 AAA Lc 81.8 Fine for body text
#ECCAF7 text on white 1.46:1 Fails Lc 21.9 Dividers and decoration only
#ECCAF7 text on black 14.35:1 AAA Lc -81.4 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

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200 (this color)

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  4. Step 300

    300

    #D9AEE7

    oklch(80.8% 0.091 317.7)

  5. Step 400

    400

    #C681DB

    oklch(70.7% 0.146 318)

  6. Step 500

    500

    #B65ED1

    oklch(63.1% 0.185 317.7)

  7. Step 600

    600

    #A23FBE

    oklch(55.6% 0.202 318)

  8. Step 700

    700

    #8A30A4

    oklch(49.1% 0.188 317.6)

  9. Step 800

    800

    #702985

    oklch(42.6% 0.156 317.6)

  10. Step 900

    900

    #5B276A

    oklch(37.6% 0.121 318.1)

  11. Step 950

    950

    #35183E

    oklch(26.9% 0.076 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#ECCAF7 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)#C5D3F90.055
Deuteranopia (no green cones)#CCD7F50.053
Tritanopia (no blue cones)#ECCFD90.048
Achromatopsia (no color)#D5D5D50.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCAF7

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  • #C2E4B6

    #C2E4B6

    oklch(88.2% 0.072 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCAF7

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  • #D5D2FF

    #D5D2FF

    oklch(88.1% 0.062 288.1)

  • #FDC6E0

    #FDC6E0

    oklch(88.3% 0.071 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECCAF7

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  • #DCDCA6

    #DCDCA6

    oklch(88.1% 0.071 107.8)

  • #ABE8CF

    #ABE8CF

    oklch(88.3% 0.071 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCAF7

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  • #F2D3A4

    #F2D3A4

    oklch(88.2% 0.07 78)

  • #A0E7E9

    #A0E7E9

    oklch(88.2% 0.071 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCAF7

    #ECCAF7

    oklch(88.2% 0.071 317.8)

  • #FFCBB1

    #FFCBB1

    oklch(88.1% 0.069 47.9)

  • #C2E4B6

    #C2E4B6

    oklch(88.2% 0.072 137.6)

  • #A7E2FD

    #A7E2FD

    oklch(88.2% 0.071 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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