#EC87EB

Closest named color: Violet (#EE82EE). oklch(76.5% 0.174 327.5), rgb(236, 135, 235).

Aa

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

About this color

#EC87EB is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.174 and its hue 327°. 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.23:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.174)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.23:1
White text2.27:1

Values

HEX#EC87EB
RGBrgb(236, 135, 235)
HSLhsl(301, 73%, 73%)
OKLCHoklch(76.5% 0.174 327.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 #EC87EB 2.27:1 Fails Lc -49.3 Large or bold text, headings
Black text on #EC87EB 9.23:1 AAA Lc 59.5 Large or bold text, headings
#EC87EB text on white 2.27:1 Fails Lc 44.5 Non-text elements, placeholder text
#EC87EB text on black 9.23:1 AAA Lc -57.6 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

    #FEF0FE

    oklch(97% 0.024 325.8)

  2. Step 100

    100

    #FDDFFC

    oklch(93.7% 0.05 327)

  3. Step 200

    200

    #FCC3FA

    oklch(88.5% 0.096 327.5)

  4. Step 300

    300 (this color)

    #EC87EB

    oklch(76.5% 0.174 327.5)

  5. Step 400

    400

    #F444F7

    oklch(70.7% 0.279 327.3)

  6. Step 500

    500

    #DD00E0

    oklch(63.2% 0.291 327.6)

  7. Step 600

    600

    #BA00BD

    oklch(55.5% 0.256 327.5)

  8. Step 700

    700

    #9D00A0

    oklch(49% 0.226 327.4)

  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

#EC87EB 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)#7FA4EE0.167
Deuteranopia (no green cones)#9BB1E80.151
Tritanopia (no blue cones)#F291AE0.099
Achromatopsia (no color)#ACACAC0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC87EB

    #EC87EB

    oklch(76.5% 0.174 327.5)

  • #57D06E

    #57D06E

    oklch(76.6% 0.175 147.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC87EB

    #EC87EB

    oklch(76.5% 0.174 327.5)

  • #BD9FFF

    #BD9FFF

    oklch(76.6% 0.137 297.4)

  • #FF85B3

    #FF85B3

    oklch(76.5% 0.155 357.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC87EB

    #EC87EB

    oklch(76.5% 0.174 327.5)

  • #ABC012

    #ABC012

    oklch(76.5% 0.174 117.4)

  • #00CFB2

    #00CFB2

    oklch(76.4% 0.141 177.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC87EB

    #EC87EB

    oklch(76.5% 0.174 327.5)

  • #DDAB00

    #DDAB00

    oklch(76.6% 0.157 87.4)

  • #00C9DD

    #00C9DD

    oklch(76.4% 0.131 207.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC87EB

    #EC87EB

    oklch(76.5% 0.174 327.5)

  • #FF9434

    #FF9434

    oklch(76.5% 0.165 57.4)

  • #57D06E

    #57D06E

    oklch(76.6% 0.175 147.4)

  • #4DBFFF

    #4DBFFF

    oklch(76.7% 0.137 237.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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