#ECA2FF

Closest named color: Lilac (#CEA2FD). oklch(81.6% 0.148 319.3), rgb(236, 162, 255).

Aa

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

About this color

#ECA2FF is a light, vivid purple. In OKLCH its lightness is 82%, its chroma 0.148 and its hue 319°. 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.17:1.

Hue familyPurples
Lightnesslight (82%)
Chromavivid (0.148)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.17:1
White text1.87:1

Values

HEX#ECA2FF
RGBrgb(236, 162, 255)
HSLhsl(288, 100%, 82%)
OKLCHoklch(81.6% 0.148 319.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 #ECA2FF 1.87:1 Fails Lc -39.6 Non-text elements, placeholder text
Black text on #ECA2FF 11.17:1 AAA Lc 68.5 Content text, not long reading
#ECA2FF text on white 1.87:1 Fails Lc 35.4 Non-text elements, placeholder text
#ECA2FF text on black 11.17:1 AAA Lc -67.1 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

    #F1C8FC

    oklch(88.4% 0.083 319)

  4. Step 300

    300 (this color)

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  5. Step 400

    400

    #DD62FB

    oklch(70.7% 0.237 319.3)

  6. Step 500

    500

    #D201F8

    oklch(63.1% 0.303 319.4)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #68007C

    oklch(37.8% 0.182 319.4)

  11. Step 950

    950

    #3F034B

    oklch(27% 0.125 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECA2FF 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)#96B8FF0.127
Deuteranopia (no green cones)#A8C0FC0.117
Tritanopia (no blue cones)#EDADC50.095
Achromatopsia (no color)#BDBDBD0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECA2FF

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  • #8EDA7A

    #8EDA7A

    oklch(81.6% 0.149 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECA2FF

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  • #C0B8FF

    #C0B8FF

    oklch(81.4% 0.099 289.2)

  • #FFA0CF

    #FFA0CF

    oklch(81.5% 0.126 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECA2FF

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  • #CACA49

    #CACA49

    oklch(81.5% 0.148 109.3)

  • #3CE1B3

    #3CE1B3

    oklch(81.6% 0.148 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECA2FF

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  • #F5B63E

    #F5B63E

    oklch(81.5% 0.149 79.4)

  • #00DDE5

    #00DDE5

    oklch(81.5% 0.139 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECA2FF

    #ECA2FF

    oklch(81.6% 0.148 319.3)

  • #FFAC7F

    #FFAC7F

    oklch(81.5% 0.115 49.1)

  • #8EDA7A

    #8EDA7A

    oklch(81.6% 0.149 139.3)

  • #68D1FF

    #68D1FF

    oklch(81.6% 0.117 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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