#EC9FFF

Closest named color: Lilac (#CEA2FD). oklch(81.1% 0.154 319.5), rgb(236, 159, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.96:1
White text1.91:1

Values

HEX#EC9FFF
RGBrgb(236, 159, 255)
HSLhsl(288, 100%, 81%)
OKLCHoklch(81.1% 0.154 319.5)

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 #EC9FFF 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #EC9FFF 10.96:1 AAA Lc 67.5 Content text, not long reading
#EC9FFF text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#EC9FFF text on black 10.96:1 AAA Lc -66.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

    #F7E1FD

    oklch(93.6% 0.044 319)

  3. Step 200

    200

    #F2C8FD

    oklch(88.6% 0.084 319.2)

  4. Step 300

    300 (this color)

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  5. Step 400

    400

    #DF5EFE

    oklch(70.7% 0.246 319.3)

  6. Step 500

    500

    #D200F8

    oklch(63.1% 0.304 319.4)

  7. Step 600

    600

    #B100D1

    oklch(55.5% 0.267 319.5)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0093

    oklch(42.8% 0.206 319.6)

  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

#EC9FFF 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)#92B6FF0.133
Deuteranopia (no green cones)#A5BEFC0.121
Tritanopia (no blue cones)#EDAAC30.098
Achromatopsia (no color)#BBBBBB0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC9FFF

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  • #8AD976

    #8AD976

    oklch(81.1% 0.154 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC9FFF

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  • #BFB6FF

    #BFB6FF

    oklch(81% 0.102 289.6)

  • #FF9ECD

    #FF9ECD

    oklch(81.1% 0.128 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #EC9FFF

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  • #C8C940

    #C8C940

    oklch(81.1% 0.154 109.8)

  • #2BE0B1

    #2BE0B1

    oklch(81% 0.153 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC9FFF

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  • #F5B433

    #F5B433

    oklch(81% 0.154 79.5)

  • #00DBE3

    #00DBE3

    oklch(81% 0.138 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC9FFF

    #EC9FFF

    oklch(81.1% 0.154 319.5)

  • #FFAA7B

    #FFAA7B

    oklch(81.1% 0.118 49.4)

  • #8AD976

    #8AD976

    oklch(81.1% 0.154 139.5)

  • #63CFFF

    #63CFFF

    oklch(81% 0.12 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 #EC9FFF, closest first.

Similar named colors

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

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