#EC9EF9

Closest named color: Lilac (#CEA2FD). oklch(80.7% 0.149 321.7), rgb(236, 158, 249).

Aa

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

About this color

#EC9EF9 is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.149 and its hue 322°. 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.82:1.

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

Values

HEX#EC9EF9
RGBrgb(236, 158, 249)
HSLhsl(291, 88%, 80%)
OKLCHoklch(80.7% 0.149 321.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 #EC9EF9 1.93:1 Fails Lc -41.4 Non-text elements, placeholder text
Black text on #EC9EF9 10.82:1 AAA Lc 66.9 Content text, not long reading
#EC9EF9 text on white 1.93:1 Fails Lc 37.0 Non-text elements, placeholder text
#EC9EF9 text on black 10.82:1 AAA Lc -65.4 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

    #F3C8FA

    oklch(88.5% 0.082 321.6)

  4. Step 300

    300 (this color)

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  5. Step 400

    400

    #E15FF7

    oklch(70.6% 0.239 321.6)

  6. Step 500

    500

    #D500F1

    oklch(63% 0.3 321.7)

  7. Step 600

    600

    #B400CC

    oklch(55.6% 0.265 321.7)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #690078

    oklch(37.6% 0.179 321.6)

  11. Step 950

    950

    #40024A

    oklch(27% 0.126 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#EC9EF9 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)#93B4FC0.132
Deuteranopia (no green cones)#A7BDF60.120
Tritanopia (no blue cones)#EEA8C00.093
Achromatopsia (no color)#BABABA0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC9EF9

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  • #86D87C

    #86D87C

    oklch(80.8% 0.149 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC9EF9

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  • #C0B4FF

    #C0B4FF

    oklch(80.7% 0.105 291.2)

  • #FF9CC9

    #FF9CC9

    oklch(80.6% 0.129 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #EC9EF9

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  • #C3C948

    #C3C948

    oklch(80.7% 0.15 111.9)

  • #2CDEB4

    #2CDEB4

    oklch(80.6% 0.149 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC9EF9

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  • #F0B538

    #F0B538

    oklch(80.7% 0.149 81.7)

  • #00D9E5

    #00D9E5

    oklch(80.6% 0.137 201.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC9EF9

    #EC9EF9

    oklch(80.7% 0.149 321.7)

  • #FFA873

    #FFA873

    oklch(80.6% 0.124 51.6)

  • #86D87C

    #86D87C

    oklch(80.8% 0.149 141.7)

  • #66CDFF

    #66CDFF

    oklch(80.6% 0.119 231.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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