#ED9EFF

Closest named color: Lilac (#CEA2FD). oklch(81% 0.156 320), rgb(237, 158, 255).

Aa

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

About this color

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

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

Values

HEX#ED9EFF
RGBrgb(237, 158, 255)
HSLhsl(289, 100%, 81%)
OKLCHoklch(81% 0.156 320)

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 #ED9EFF 1.92:1 Fails Lc -40.8 Non-text elements, placeholder text
Black text on #ED9EFF 10.93:1 AAA Lc 67.4 Content text, not long reading
#ED9EFF text on white 1.92:1 Fails Lc 36.5 Non-text elements, placeholder text
#ED9EFF text on black 10.93:1 AAA Lc -66.0 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)

    #ED9EFF

    oklch(81% 0.156 320)

  5. Step 400

    400

    #E15CFE

    oklch(70.7% 0.249 320)

  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

#ED9EFF 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)#91B6FF0.137
Deuteranopia (no green cones)#A5BEFC0.124
Tritanopia (no blue cones)#EEAAC30.099
Achromatopsia (no color)#BBBBBB0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #ED9EFF

    #ED9EFF

    oklch(81% 0.156 320)

  • #88D976

    #88D976

    oklch(81% 0.155 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ED9EFF

    #ED9EFF

    oklch(81% 0.156 320)

  • #C0B6FF

    #C0B6FF

    oklch(81.1% 0.102 290.2)

  • #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°).

  • #ED9EFF

    #ED9EFF

    oklch(81% 0.156 320)

  • #C8C93E

    #C8C93E

    oklch(81.1% 0.155 109.8)

  • #20E1B1

    #20E1B1

    oklch(81.1% 0.157 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ED9EFF

    #ED9EFF

    oklch(81% 0.156 320)

  • #F5B42E

    #F5B42E

    oklch(81% 0.156 80)

  • #00DBE4

    #00DBE4

    oklch(81% 0.138 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ED9EFF

    #ED9EFF

    oklch(81% 0.156 320)

  • #FFAA79

    #FFAA79

    oklch(81.1% 0.119 50.4)

  • #88D976

    #88D976

    oklch(81% 0.155 140)

  • #64CFFF

    #64CFFF

    oklch(81% 0.119 230)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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