#EC87E7

Closest named color: Violet (#EE82EE). oklch(76.4% 0.17 328.9), rgb(236, 135, 231).

Aa

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

About this color

#EC87E7 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.170 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.017 away. Black text reads best on it, at 9.18:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.170)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.18:1
White text2.28:1

Values

HEX#EC87E7
RGBrgb(236, 135, 231)
HSLhsl(303, 73%, 73%)
OKLCHoklch(76.4% 0.17 328.9)

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 #EC87E7 2.28:1 Fails Lc -49.6 Large or bold text, headings
Black text on #EC87E7 9.18:1 AAA Lc 59.2 Large or bold text, headings
#EC87E7 text on white 2.28:1 Fails Lc 44.7 Non-text elements, placeholder text
#EC87E7 text on black 9.18:1 AAA Lc -57.4 Large or bold text, headings

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

    #FFF0FD

    oklch(97.1% 0.023 330)

  2. Step 100

    100

    #FDDFFA

    oklch(93.6% 0.048 329.1)

  3. Step 200

    200

    #FDC3F8

    oklch(88.5% 0.095 329.2)

  4. Step 300

    300 (this color)

    #EC87E7

    oklch(76.4% 0.17 328.9)

  5. Step 400

    400

    #F546F1

    oklch(70.7% 0.273 329)

  6. Step 500

    500

    #DE00DC

    oklch(63.1% 0.289 328.9)

  7. Step 600

    600

    #BC00BA

    oklch(55.7% 0.255 328.9)

  8. Step 700

    700

    #9F009D

    oklch(49.2% 0.225 329)

  9. Step 800

    800

    #830082

    oklch(42.7% 0.196 328.8)

  10. Step 900

    900

    #6E006D

    oklch(37.7% 0.173 328.8)

  11. Step 950

    950

    #440043

    oklch(27.1% 0.124 329.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC87E7 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)#81A3EA0.165
Deuteranopia (no green cones)#9CB0E40.149
Tritanopia (no blue cones)#F290AC0.095
Achromatopsia (no color)#ABABAB0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC87E7

    #EC87E7

    oklch(76.4% 0.17 328.9)

  • #54CF73

    #54CF73

    oklch(76.3% 0.17 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC87E7

    #EC87E7

    oklch(76.4% 0.17 328.9)

  • #BF9DFF

    #BF9DFF

    oklch(76.4% 0.141 299)

  • #FF85B0

    #FF85B0

    oklch(76.4% 0.154 359)

Open the analogous palette in the generator

Split complementary

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

  • #EC87E7

    #EC87E7

    oklch(76.4% 0.17 328.9)

  • #A7C022

    #A7C022

    oklch(76.3% 0.17 119)

  • #00CFB4

    #00CFB4

    oklch(76.5% 0.14 178.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC87E7

    #EC87E7

    oklch(76.4% 0.17 328.9)

  • #DAAB00

    #DAAB00

    oklch(76.3% 0.156 88.7)

  • #00C8DF

    #00C8DF

    oklch(76.3% 0.132 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC87E7

    #EC87E7

    oklch(76.4% 0.17 328.9)

  • #FF9328

    #FF9328

    oklch(76.3% 0.169 58.7)

  • #54CF73

    #54CF73

    oklch(76.3% 0.17 149)

  • #51BDFF

    #51BDFF

    oklch(76.3% 0.136 239.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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