#EC9CFE

Closest named color: Lilac (#CEA2FD). oklch(80.6% 0.158 320.1), rgb(236, 156, 254).

Aa

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

About this color

#EC9CFE is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.158 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.048 away. Black text reads best on it, at 10.75:1.

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.75:1
White text1.95:1

Values

HEX#EC9CFE
RGBrgb(236, 156, 254)
HSLhsl(289, 98%, 80%)
OKLCHoklch(80.6% 0.158 320.1)

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 #EC9CFE 1.95:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #EC9CFE 10.75:1 AAA Lc 66.6 Content text, not long reading
#EC9CFE text on white 1.95:1 Fails Lc 37.3 Non-text elements, placeholder text
#EC9CFE text on black 10.75:1 AAA Lc -65.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

    #F8E1FD

    oklch(93.7% 0.045 320.2)

  3. Step 200

    200

    #F3C7FD

    oklch(88.5% 0.087 320)

  4. Step 300

    300 (this color)

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  5. Step 400

    400

    #E25AFF

    oklch(70.7% 0.253 320.1)

  6. Step 500

    500

    #D300F6

    oklch(63.1% 0.303 320.1)

  7. Step 600

    600

    #B200D0

    oklch(55.6% 0.267 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #68007B

    oklch(37.7% 0.181 319.8)

  11. Step 950

    950

    #40004C

    oklch(27% 0.13 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#EC9CFE 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)#8FB4FF0.138
Deuteranopia (no green cones)#A3BCFB0.125
Tritanopia (no blue cones)#EDA8C10.101
Achromatopsia (no color)#B9B9B90.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC9CFE

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  • #85D873

    #85D873

    oklch(80.6% 0.158 140.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC9CFE

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  • #BEB4FF

    #BEB4FF

    oklch(80.5% 0.105 289.9)

  • #FF9BCB

    #FF9BCB

    oklch(80.6% 0.132 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #EC9CFE

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  • #C6C839

    #C6C839

    oklch(80.6% 0.158 110.3)

  • #11DFB0

    #11DFB0

    oklch(80.5% 0.157 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC9CFE

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  • #F4B228

    #F4B228

    oklch(80.5% 0.157 79.8)

  • #00D9E2

    #00D9E2

    oklch(80.5% 0.137 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC9CFE

    #EC9CFE

    oklch(80.6% 0.158 320.1)

  • #FFA775

    #FFA775

    oklch(80.5% 0.123 49.9)

  • #85D873

    #85D873

    oklch(80.6% 0.158 140.1)

  • #5FCEFF

    #5FCEFF

    oklch(80.6% 0.122 229.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #EC9CFE.

Similar named colors

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

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