#EC87EA

Closest named color: Violet (#EE82EE). oklch(76.5% 0.173 327.8), rgb(236, 135, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.173)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.22:1
White text2.27:1

Values

HEX#EC87EA
RGBrgb(236, 135, 234)
HSLhsl(301, 73%, 73%)
OKLCHoklch(76.5% 0.173 327.8)

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 #EC87EA 2.27:1 Fails Lc -49.4 Large or bold text, headings
Black text on #EC87EA 9.22:1 AAA Lc 59.4 Large or bold text, headings
#EC87EA text on white 2.27:1 Fails Lc 44.6 Non-text elements, placeholder text
#EC87EA text on black 9.22:1 AAA Lc -57.5 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

    #FFF0FE

    oklch(97.1% 0.024 327.8)

  2. Step 100

    100

    #FDDFFB

    oklch(93.6% 0.049 328)

  3. Step 200

    200

    #FCC3FA

    oklch(88.5% 0.096 327.5)

  4. Step 300

    300 (this color)

    #EC87EA

    oklch(76.5% 0.173 327.8)

  5. Step 400

    400

    #F445F5

    oklch(70.6% 0.276 327.8)

  6. Step 500

    500

    #DD00DF

    oklch(63.1% 0.291 327.9)

  7. Step 600

    600

    #BB00BC

    oklch(55.6% 0.256 328.1)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #6D006F

    oklch(37.7% 0.174 327.4)

  11. Step 950

    950

    #430044

    oklch(26.9% 0.124 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC87EA 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)#80A3ED0.166
Deuteranopia (no green cones)#9BB0E70.149
Tritanopia (no blue cones)#F291AE0.098
Achromatopsia (no color)#ACACAC0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC87EA

    #EC87EA

    oklch(76.5% 0.173 327.8)

  • #57D06F

    #57D06F

    oklch(76.6% 0.174 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC87EA

    #EC87EA

    oklch(76.5% 0.173 327.8)

  • #BD9EFF

    #BD9EFF

    oklch(76.4% 0.139 297.7)

  • #FF85B2

    #FF85B2

    oklch(76.5% 0.155 358)

Open the analogous palette in the generator

Split complementary

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

  • #EC87EA

    #EC87EA

    oklch(76.5% 0.173 327.8)

  • #AAC017

    #AAC017

    oklch(76.5% 0.173 117.8)

  • #00CFB2

    #00CFB2

    oklch(76.4% 0.141 177.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC87EA

    #EC87EA

    oklch(76.5% 0.173 327.8)

  • #DCAB00

    #DCAB00

    oklch(76.5% 0.156 87.9)

  • #00C9DE

    #00C9DE

    oklch(76.5% 0.131 208.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC87EA

    #EC87EA

    oklch(76.5% 0.173 327.8)

  • #FF9431

    #FF9431

    oklch(76.5% 0.166 57.9)

  • #57D06F

    #57D06F

    oklch(76.6% 0.174 147.6)

  • #4EBEFF

    #4EBEFF

    oklch(76.5% 0.137 238)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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