#ECCAFA

Closest named color: Light Lilac (#EDC8FF). oklch(88.3% 0.074 316), rgb(236, 202, 250).

Aa

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

About this color

#ECCAFA is a light, moderately saturated purple. In OKLCH its lightness is 88%, its chroma 0.074 and its hue 316°. 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.39:1.

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

Values

HEX#ECCAFA
RGBrgb(236, 202, 250)
HSLhsl(283, 83%, 89%)
OKLCHoklch(88.3% 0.074 316)

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 #ECCAFA 1.45:1 Fails Lc -24.8 Dividers and decoration only
Black text on #ECCAFA 14.39:1 AAA Lc 81.9 Fine for body text
#ECCAFA text on white 1.45:1 Fails Lc 21.8 Dividers and decoration only
#ECCAFA text on black 14.39:1 AAA Lc -81.5 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

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200 (this color)

    #ECCAFA

    oklch(88.3% 0.074 316)

  4. Step 300

    300

    #D9AEEB

    oklch(80.9% 0.096 315.8)

  5. Step 400

    400

    #C580E0

    oklch(70.6% 0.153 316)

  6. Step 500

    500

    #B65BD7

    oklch(63.1% 0.196 316.2)

  7. Step 600

    600

    #A13CC4

    oklch(55.6% 0.211 316)

  8. Step 700

    700

    #8A2CAA

    oklch(49.1% 0.198 315.9)

  9. Step 800

    800

    #702789

    oklch(42.7% 0.163 316.1)

  10. Step 900

    900

    #5B266E

    oklch(37.8% 0.127 316.1)

  11. Step 950

    950

    #351740

    oklch(26.9% 0.081 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#ECCAFA 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)#C4D4FC0.057
Deuteranopia (no green cones)#CBD7F80.054
Tritanopia (no blue cones)#ECCFDA0.051
Achromatopsia (no color)#D6D6D60.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCAFA

    #ECCAFA

    oklch(88.3% 0.074 316)

  • #C3E4B4

    #C3E4B4

    oklch(88.3% 0.073 135.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCAFA

    #ECCAFA

    oklch(88.3% 0.074 316)

  • #D4D3FF

    #D4D3FF

    oklch(88.2% 0.06 286.1)

  • #FEC5E3

    #FEC5E3

    oklch(88.3% 0.075 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #ECCAFA

    #ECCAFA

    oklch(88.3% 0.074 316)

  • #DEDCA3

    #DEDCA3

    oklch(88.2% 0.074 106.1)

  • #AAE9CD

    #AAE9CD

    oklch(88.4% 0.075 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCAFA

    #ECCAFA

    oklch(88.3% 0.074 316)

  • #F5D2A2

    #F5D2A2

    oklch(88.2% 0.074 75.3)

  • #9DE8E8

    #9DE8E8

    oklch(88.2% 0.074 195.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCAFA

    #ECCAFA

    oklch(88.3% 0.074 316)

  • #FFCBB4

    #FFCBB4

    oklch(88.2% 0.067 45.1)

  • #C3E4B4

    #C3E4B4

    oklch(88.3% 0.073 135.9)

  • #A3E3FE

    #A3E3FE

    oklch(88.2% 0.074 226.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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