#EC87D8

Closest named color: Lavender Pink (#DD85D7). oklch(75.8% 0.158 334.8), rgb(236, 135, 216).

Aa

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

About this color

#EC87D8 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.158 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.027 away. Black text reads best on it, at 9.02:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text9.02:1
White text2.32:1

Values

HEX#EC87D8
RGBrgb(236, 135, 216)
HSLhsl(312, 73%, 73%)
OKLCHoklch(75.8% 0.158 334.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 #EC87D8 2.32:1 Fails Lc -50.5 Large or bold text, headings
Black text on #EC87D8 9.02:1 AAA Lc 58.4 Large or bold text, headings
#EC87D8 text on white 2.32:1 Fails Lc 45.6 Large or bold text, headings
#EC87D8 text on black 9.02:1 AAA Lc -56.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 400.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F1CCE8

    oklch(88.5% 0.055 334.6)

  4. Step 300

    300

    #E9A9DA

    oklch(81% 0.098 335.1)

  5. Step 400

    400 (this color)

    #EC87D8

    oklch(75.8% 0.158 334.8)

  6. Step 500

    500

    #CE4EB9

    oklch(63.1% 0.201 334.7)

  7. Step 600

    600

    #B929A5

    oklch(55.6% 0.218 334.6)

  8. Step 700

    700

    #9F188D

    oklch(49.1% 0.203 334.8)

  9. Step 800

    800

    #811973

    oklch(42.7% 0.168 334.4)

  10. Step 900

    900

    #681D5D

    oklch(37.6% 0.132 334.3)

  11. Step 950

    950

    #3D1336

    oklch(26.9% 0.082 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC87D8 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)#87A1DB0.158
Deuteranopia (no green cones)#A2AFD50.143
Tritanopia (no blue cones)#F58CA60.079
Achromatopsia (no color)#AAAAAA0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC87D8

    #EC87D8

    oklch(75.8% 0.158 334.8)

  • #49CD82

    #49CD82

    oklch(75.8% 0.158 154.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC87D8

    #EC87D8

    oklch(75.8% 0.158 334.8)

  • #C795FF

    #C795FF

    oklch(75.8% 0.155 304.7)

  • #FF83A4

    #FF83A4

    oklch(75.8% 0.153 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC87D8

    #EC87D8

    oklch(75.8% 0.158 334.8)

  • #9AC143

    #9AC143

    oklch(75.8% 0.158 124.8)

  • #00CBBB

    #00CBBB

    oklch(75.7% 0.134 184.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC87D8

    #EC87D8

    oklch(75.8% 0.158 334.8)

  • #D0AE00

    #D0AE00

    oklch(75.8% 0.156 94.8)

  • #00C5E5

    #00C5E5

    oklch(75.8% 0.134 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC87D8

    #EC87D8

    oklch(75.8% 0.158 334.8)

  • #F4982A

    #F4982A

    oklch(75.8% 0.158 64.5)

  • #49CD82

    #49CD82

    oklch(75.8% 0.158 154.7)

  • #5FB8FF

    #5FB8FF

    oklch(75.7% 0.134 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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