#EF87DC

Closest named color: Violet (#EE82EE). oklch(76.3% 0.163 334.2), rgb(239, 135, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.163)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.16:1
White text2.29:1

Values

HEX#EF87DC
RGBrgb(239, 135, 220)
HSLhsl(311, 76%, 73%)
OKLCHoklch(76.3% 0.163 334.2)

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 #EF87DC 2.29:1 Fails Lc -49.7 Large or bold text, headings
Black text on #EF87DC 9.16:1 AAA Lc 59.1 Large or bold text, headings
#EF87DC text on white 2.29:1 Fails Lc 44.8 Non-text elements, placeholder text
#EF87DC text on black 9.16:1 AAA Lc -57.3 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

    #FFF0FB

    oklch(97% 0.022 334.9)

  2. Step 100

    100

    #FFDFF7

    oklch(93.7% 0.047 334.7)

  3. Step 200

    200

    #FFC3F2

    oklch(88.5% 0.091 334.1)

  4. Step 300

    300 (this color)

    #EF87DC

    oklch(76.3% 0.163 334.2)

  5. Step 400

    400

    #F949E1

    oklch(70.6% 0.261 334.1)

  6. Step 500

    500

    #E400CD

    oklch(63.2% 0.282 334.1)

  7. Step 600

    600

    #C000AD

    oklch(55.6% 0.248 333.9)

  8. Step 700

    700

    #A30092

    oklch(49.2% 0.22 334.2)

  9. Step 800

    800

    #860078

    oklch(42.6% 0.19 334.1)

  10. Step 900

    900

    #710065

    oklch(37.7% 0.168 334.1)

  11. Step 950

    950

    #46003E

    oklch(27.1% 0.121 334.1)

Export this scale for Tailwind in the Tailwind colors tool

#EF87DC 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)#86A2DF0.164
Deuteranopia (no green cones)#A2B1D90.148
Tritanopia (no blue cones)#F88CA80.082
Achromatopsia (no color)#ABABAB0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #EF87DC

    #EF87DC

    oklch(76.3% 0.163 334.2)

  • #47CF81

    #47CF81

    oklch(76.2% 0.163 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EF87DC

    #EF87DC

    oklch(76.3% 0.163 334.2)

  • #C798FF

    #C798FF

    oklch(76.3% 0.15 304.1)

  • #FF86A7

    #FF86A7

    oklch(76.3% 0.15 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #EF87DC

    #EF87DC

    oklch(76.3% 0.163 334.2)

  • #9CC33E

    #9CC33E

    oklch(76.4% 0.163 124.4)

  • #00CDBC

    #00CDBC

    oklch(76.2% 0.135 184.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EF87DC

    #EF87DC

    oklch(76.3% 0.163 334.2)

  • #D2AF00

    #D2AF00

    oklch(76.3% 0.156 94.4)

  • #00C7E6

    #00C7E6

    oklch(76.3% 0.134 214.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EF87DC

    #EF87DC

    oklch(76.3% 0.163 334.2)

  • #F89823

    #F89823

    oklch(76.2% 0.163 64.1)

  • #47CF81

    #47CF81

    oklch(76.2% 0.163 154.2)

  • #61BAFF

    #61BAFF

    oklch(76.2% 0.131 244.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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