#ECA2FB

Closest named color: Lilac (#CEA2FD). oklch(81.4% 0.144 320.7), rgb(236, 162, 251).

Aa

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

About this color

#ECA2FB is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.144 and its hue 321°. 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.12:1.

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

Values

HEX#ECA2FB
RGBrgb(236, 162, 251)
HSLhsl(290, 92%, 81%)
OKLCHoklch(81.4% 0.144 320.7)

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 #ECA2FB 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #ECA2FB 11.12:1 AAA Lc 68.2 Content text, not long reading
#ECA2FB text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#ECA2FB text on black 11.12:1 AAA Lc -66.8 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

    #FCF2FE

    oklch(97.2% 0.019 320.6)

  2. Step 100

    100

    #F7E1FB

    oklch(93.5% 0.042 321)

  3. Step 200

    200

    #F2C8FA

    oklch(88.4% 0.081 320.9)

  4. Step 300

    300 (this color)

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  5. Step 400

    400

    #DE63F6

    oklch(70.7% 0.231 320.8)

  6. Step 500

    500

    #D213F2

    oklch(63% 0.295 320.6)

  7. Step 600

    600

    #B300CF

    oklch(55.7% 0.266 320.6)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7D0091

    oklch(42.8% 0.205 320.7)

  10. Step 900

    900

    #69007A

    oklch(37.8% 0.181 320.7)

  11. Step 950

    950

    #3F0449

    oklch(27% 0.122 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#ECA2FB 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)#97B7FE0.125
Deuteranopia (no green cones)#A9BFF80.115
Tritanopia (no blue cones)#EEACC30.091
Achromatopsia (no color)#BDBDBD0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECA2FB

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  • #8CD97F

    #8CD97F

    oklch(81.4% 0.144 140.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECA2FB

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  • #C2B7FF

    #C2B7FF

    oklch(81.4% 0.101 291)

  • #FFA0CC

    #FFA0CC

    oklch(81.4% 0.124 350.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECA2FB

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  • #C7CA50

    #C7CA50

    oklch(81.3% 0.144 110.5)

  • #3FE0B5

    #3FE0B5

    oklch(81.4% 0.145 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECA2FB

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  • #F2B743

    #F2B743

    oklch(81.4% 0.145 80.7)

  • #00DCE6

    #00DCE6

    oklch(81.3% 0.138 200.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECA2FB

    #ECA2FB

    oklch(81.4% 0.144 320.7)

  • #FFAC7B

    #FFAC7B

    oklch(81.5% 0.117 51)

  • #8CD97F

    #8CD97F

    oklch(81.4% 0.144 140.9)

  • #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 #ECA2FB, closest first.

Similar named colors

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

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