#EC7FD9

Closest named color: Lavender Pink (#DD85D7). oklch(74.6% 0.172 334), rgb(236, 127, 217).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.60:1
White text2.44:1

Values

HEX#EC7FD9
RGBrgb(236, 127, 217)
HSLhsl(310, 74%, 71%)
OKLCHoklch(74.6% 0.172 334)

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 #EC7FD9 2.44:1 Fails Lc -52.6 Large or bold text, headings
Black text on #EC7FD9 8.60:1 AAA Lc 56.4 Large or bold text, headings
#EC7FD9 text on white 2.44:1 Fails Lc 47.6 Large or bold text, headings
#EC7FD9 text on black 8.60:1 AAA Lc -54.4 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F3

    oklch(93.7% 0.031 334)

  3. Step 200

    200

    #F3CBEA

    oklch(88.5% 0.06 334)

  4. Step 300

    300

    #EBA6DD

    oklch(80.8% 0.107 334)

  5. Step 400

    400 (this color)

    #EC7FD9

    oklch(74.6% 0.172 334)

  6. Step 500

    500

    #D345BF

    oklch(63.1% 0.22 334)

  7. Step 600

    600

    #BE15AB

    oklch(55.7% 0.239 334)

  8. Step 700

    700

    #A30092

    oklch(49.2% 0.22 334.2)

  9. Step 800

    800

    #850B77

    oklch(42.8% 0.184 334.1)

  10. Step 900

    900

    #6B1760

    oklch(37.7% 0.144 334)

  11. Step 950

    950

    #3F1038

    oklch(27% 0.091 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#EC7FD9 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)#7E9CDC0.173
Deuteranopia (no green cones)#9CACD60.156
Tritanopia (no blue cones)#F585A20.087
Achromatopsia (no color)#A6A6A60.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7FD9

    #EC7FD9

    oklch(74.6% 0.172 334)

  • #34CB79

    #34CB79

    oklch(74.6% 0.171 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7FD9

    #EC7FD9

    oklch(74.6% 0.172 334)

  • #C390FF

    #C390FF

    oklch(74.6% 0.162 303.9)

  • #FF7CA1

    #FF7CA1

    oklch(74.7% 0.163 4)

Open the analogous palette in the generator

Split complementary

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

  • #EC7FD9

    #EC7FD9

    oklch(74.6% 0.172 334)

  • #97BE2A

    #97BE2A

    oklch(74.7% 0.171 123.9)

  • #00C7B6

    #00C7B6

    oklch(74.6% 0.132 184.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7FD9

    #EC7FD9

    oklch(74.6% 0.172 334)

  • #CDAA00

    #CDAA00

    oklch(74.7% 0.153 94)

  • #00C1DF

    #00C1DF

    oklch(74.6% 0.131 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7FD9

    #EC7FD9

    oklch(74.6% 0.172 334)

  • #F59200

    #F59200

    oklch(74.8% 0.169 64.1)

  • #34CB79

    #34CB79

    oklch(74.6% 0.171 154.1)

  • #52B5FF

    #52B5FF

    oklch(74.6% 0.141 244.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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