#EC98DA

Closest named color: Plum (#DDA0DD). oklch(78.5% 0.13 334.9), rgb(236, 152, 218).

Aa

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

About this color

#EC98DA is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.130 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.028 away. Black text reads best on it, at 10.07:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.07:1
White text2.08:1

Values

HEX#EC98DA
RGBrgb(236, 152, 218)
HSLhsl(313, 69%, 76%)
OKLCHoklch(78.5% 0.13 334.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 #EC98DA 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #EC98DA 10.07:1 AAA Lc 63.4 Content text, not long reading
#EC98DA text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#EC98DA text on black 10.07:1 AAA Lc -61.7 Content text, not long reading

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

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FBE1F4

    oklch(93.6% 0.038 335.3)

  3. Step 200

    200

    #F8C8EC

    oklch(88.5% 0.071 335.2)

  4. Step 300

    300 (this color)

    #EC98DA

    oklch(78.5% 0.13 334.9)

  5. Step 400

    400

    #EB64D3

    oklch(70.7% 0.208 335)

  6. Step 500

    500

    #E120C7

    oklch(63.2% 0.266 335.1)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950

    #44063B

    oklch(27.1% 0.11 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#EC98DA 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)#98ACDC0.129
Deuteranopia (no green cones)#ADB8D70.118
Tritanopia (no blue cones)#F49BB00.065
Achromatopsia (no color)#B3B3B30.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC98DA

    #EC98DA

    oklch(78.5% 0.13 334.9)

  • #6DD194

    #6DD194

    oklch(78.4% 0.129 155.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC98DA

    #EC98DA

    oklch(78.5% 0.13 334.9)

  • #CCA3FC

    #CCA3FC

    oklch(78.5% 0.13 304.7)

  • #FE94AE

    #FE94AE

    oklch(78.5% 0.13 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #EC98DA

    #EC98DA

    oklch(78.5% 0.13 334.9)

  • #A6C766

    #A6C766

    oklch(78.4% 0.13 124.8)

  • #2ED3C4

    #2ED3C4

    oklch(78.4% 0.13 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC98DA

    #EC98DA

    oklch(78.5% 0.13 334.9)

  • #D3B84B

    #D3B84B

    oklch(78.6% 0.131 95.3)

  • #2ECDEC

    #2ECDEC

    oklch(78.4% 0.13 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC98DA

    #EC98DA

    oklch(78.5% 0.13 334.9)

  • #F2A658

    #F2A658

    oklch(78.4% 0.13 64.5)

  • #6DD194

    #6DD194

    oklch(78.4% 0.129 155.2)

  • #75C0FF

    #75C0FF

    oklch(78.4% 0.117 245.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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