#EC97DB

Closest named color: Plum (#DDA0DD). oklch(78.3% 0.133 334.3), rgb(236, 151, 219).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.01:1
White text2.09:1

Values

HEX#EC97DB
RGBrgb(236, 151, 219)
HSLhsl(312, 69%, 76%)
OKLCHoklch(78.3% 0.133 334.3)

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 #EC97DB 2.09:1 Fails Lc -45.4 Large or bold text, headings
Black text on #EC97DB 10.01:1 AAA Lc 63.1 Content text, not long reading
#EC97DB text on white 2.09:1 Fails Lc 40.8 Non-text elements, placeholder text
#EC97DB text on black 10.01:1 AAA Lc -61.4 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

    #F8C7ED

    oklch(88.4% 0.074 334.2)

  4. Step 300

    300 (this color)

    #EC97DB

    oklch(78.3% 0.133 334.3)

  5. Step 400

    400

    #EB62D5

    oklch(70.6% 0.213 334.3)

  6. Step 500

    500

    #E119CA

    oklch(63.1% 0.272 334.2)

  7. Step 600

    600

    #C100AC

    oklch(55.7% 0.248 334.5)

  8. Step 700

    700

    #A30091

    oklch(49.1% 0.219 334.5)

  9. Step 800

    800

    #870078

    oklch(42.8% 0.191 334.4)

  10. Step 900

    900

    #710065

    oklch(37.7% 0.168 334.1)

  11. Step 950

    950

    #44053C

    oklch(27% 0.112 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#EC97DB 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)#97ABDE0.130
Deuteranopia (no green cones)#ACB8D80.121
Tritanopia (no blue cones)#F49BB00.067
Achromatopsia (no color)#B3B3B30.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC97DB

    #EC97DB

    oklch(78.3% 0.133 334.3)

  • #6CD192

    #6CD192

    oklch(78.3% 0.132 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC97DB

    #EC97DB

    oklch(78.3% 0.133 334.3)

  • #CBA2FD

    #CBA2FD

    oklch(78.3% 0.133 304.2)

  • #FF93AE

    #FF93AE

    oklch(78.4% 0.133 4.5)

Open the analogous palette in the generator

Split complementary

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

  • #EC97DB

    #EC97DB

    oklch(78.3% 0.133 334.3)

  • #A6C763

    #A6C763

    oklch(78.4% 0.133 124.5)

  • #25D4C2

    #25D4C2

    oklch(78.4% 0.133 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC97DB

    #EC97DB

    oklch(78.3% 0.133 334.3)

  • #D4B747

    #D4B747

    oklch(78.4% 0.133 94.5)

  • #23CDEC

    #23CDEC

    oklch(78.2% 0.133 214.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC97DB

    #EC97DB

    oklch(78.3% 0.133 334.3)

  • #F3A555

    #F3A555

    oklch(78.3% 0.133 64.3)

  • #6CD192

    #6CD192

    oklch(78.3% 0.132 154.5)

  • #72C0FF

    #72C0FF

    oklch(78.2% 0.119 244.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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