#ECA2FC

Closest named color: Lilac (#CEA2FD). oklch(81.4% 0.145 320.3), rgb(236, 162, 252).

Aa

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

About this color

#ECA2FC is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.145 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.047 away. Black text reads best on it, at 11.14:1.

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.14:1
White text1.88:1

Values

HEX#ECA2FC
RGBrgb(236, 162, 252)
HSLhsl(289, 94%, 81%)
OKLCHoklch(81.4% 0.145 320.3)

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 #ECA2FC 1.88:1 Fails Lc -39.8 Non-text elements, placeholder text
Black text on #ECA2FC 11.14:1 AAA Lc 68.3 Content text, not long reading
#ECA2FC text on white 1.88:1 Fails Lc 35.6 Non-text elements, placeholder text
#ECA2FC text on black 11.14:1 AAA Lc -66.9 Content text, not long reading

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 300.

  1. Step 50

    50

    #FCF1FE

    oklch(97% 0.021 321)

  2. Step 100

    100

    #F7E1FC

    oklch(93.5% 0.043 320)

  3. Step 200

    200

    #F2C8FB

    oklch(88.5% 0.082 320.3)

  4. Step 300

    300 (this color)

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  5. Step 400

    400

    #DE63F7

    oklch(70.7% 0.232 320.5)

  6. Step 500

    500

    #D210F4

    oklch(63.1% 0.297 320.2)

  7. Step 600

    600

    #B200CF

    oklch(55.5% 0.266 320.3)

  8. Step 700

    700

    #9700B0

    oklch(49.2% 0.236 320.3)

  9. Step 800

    800

    #7C0091

    oklch(42.6% 0.204 320.3)

  10. Step 900

    900

    #68007A

    oklch(37.6% 0.18 320.2)

  11. Step 950

    950

    #3F044A

    oklch(27% 0.123 320.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECA2FC 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)#97B8FF0.126
Deuteranopia (no green cones)#A9C0F90.116
Tritanopia (no blue cones)#EEACC40.091
Achromatopsia (no color)#BDBDBD0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECA2FC

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  • #8DD97D

    #8DD97D

    oklch(81.4% 0.145 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECA2FC

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  • #C1B7FF

    #C1B7FF

    oklch(81.3% 0.101 290.3)

  • #FFA0CD

    #FFA0CD

    oklch(81.4% 0.125 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #ECA2FC

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  • #C8CA4E

    #C8CA4E

    oklch(81.4% 0.145 110.1)

  • #3FE0B4

    #3FE0B4

    oklch(81.4% 0.145 170.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECA2FC

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  • #F3B742

    #F3B742

    oklch(81.5% 0.146 80.4)

  • #00DCE6

    #00DCE6

    oklch(81.3% 0.138 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECA2FC

    #ECA2FC

    oklch(81.4% 0.145 320.3)

  • #FFAC7C

    #FFAC7C

    oklch(81.5% 0.116 50.5)

  • #8DD97D

    #8DD97D

    oklch(81.4% 0.145 140.2)

  • #6AD0FF

    #6AD0FF

    oklch(81.4% 0.116 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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