#EC9EFC

Closest named color: Lilac (#CEA2FD). oklch(80.8% 0.152 320.6), rgb(236, 158, 252).

Aa

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

About this color

#EC9EFC is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.152 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 10.86:1.

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.86:1
White text1.93:1

Values

HEX#EC9EFC
RGBrgb(236, 158, 252)
HSLhsl(290, 94%, 80%)
OKLCHoklch(80.8% 0.152 320.6)

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 #EC9EFC 1.93:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #EC9EFC 10.86:1 AAA Lc 67.0 Content text, not long reading
#EC9EFC text on white 1.93:1 Fails Lc 36.9 Non-text elements, placeholder text
#EC9EFC text on black 10.86:1 AAA Lc -65.6 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

    #F8E1FC

    oklch(93.6% 0.043 321.2)

  3. Step 200

    200

    #F3C7FC

    oklch(88.4% 0.085 320.6)

  4. Step 300

    300 (this color)

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  5. Step 400

    400

    #E15EFB

    oklch(70.8% 0.244 320.7)

  6. Step 500

    500

    #D400F4

    oklch(63.1% 0.302 320.8)

  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

    #40004B

    oklch(26.9% 0.129 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#EC9EFC 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)#92B5FF0.133
Deuteranopia (no green cones)#A6BDF90.121
Tritanopia (no blue cones)#EEA9C10.097
Achromatopsia (no color)#BABABA0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC9EFC

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  • #87D878

    #87D878

    oklch(80.8% 0.152 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC9EFC

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  • #C0B5FF

    #C0B5FF

    oklch(80.9% 0.104 290.7)

  • #FF9CCB

    #FF9CCB

    oklch(80.7% 0.13 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC9EFC

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  • #C6C943

    #C6C943

    oklch(80.9% 0.152 110.6)

  • #28DFB2

    #28DFB2

    oklch(80.7% 0.152 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC9EFC

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  • #F2B434

    #F2B434

    oklch(80.7% 0.152 80.7)

  • #00DAE4

    #00DAE4

    oklch(80.8% 0.137 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC9EFC

    #EC9EFC

    oklch(80.8% 0.152 320.6)

  • #FFA976

    #FFA976

    oklch(80.9% 0.121 51)

  • #87D878

    #87D878

    oklch(80.8% 0.152 140.6)

  • #64CEFF

    #64CEFF

    oklch(80.8% 0.12 230.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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