#D17ECA

Closest named color: Lavender Pink (#DD85D7). oklch(70.7% 0.141 330), rgb(209, 126, 202).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.141)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.54:1
White text2.78:1

Values

HEX#D17ECA
RGBrgb(209, 126, 202)
HSLhsl(305, 47%, 66%)
OKLCHoklch(70.7% 0.141 330)

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 #D17ECA 2.78:1 Fails Lc -58.6 Large or bold text, headings
Black text on #D17ECA 7.54:1 AAA Lc 50.7 Large or bold text, headings
#D17ECA text on white 2.78:1 Fails Lc 53.4 Large or bold text, headings
#D17ECA text on black 7.54:1 AAA Lc -48.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #EDCEE9

    oklch(88.5% 0.05 330.2)

  4. Step 300

    300

    #E2ACDC

    oklch(80.9% 0.089 330.1)

  5. Step 400

    400 (this color)

    #D17ECA

    oklch(70.7% 0.141 330)

  6. Step 500

    500

    #C359BC

    oklch(63% 0.18 330)

  7. Step 600

    600

    #AE3AA8

    oklch(55.5% 0.196 330)

  8. Step 700

    700

    #952B90

    oklch(49% 0.182 329.9)

  9. Step 800

    800

    #792675

    oklch(42.6% 0.15 329.8)

  10. Step 900

    900

    #62255F

    oklch(37.7% 0.117 329.6)

  11. Step 950

    950

    #3A1737

    oklch(27.1% 0.073 330.7)

Export this scale for Tailwind in the Tailwind colors tool

#D17ECA 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)#7A94CD0.136
Deuteranopia (no green cones)#909FC70.124
Tritanopia (no blue cones)#D7849B0.076
Achromatopsia (no color)#9B9B9B0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17ECA

    #D17ECA

    oklch(70.7% 0.141 330)

  • #56B970

    #56B970

    oklch(70.8% 0.141 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17ECA

    #D17ECA

    oklch(70.7% 0.141 330)

  • #AE8AEB

    #AE8AEB

    oklch(70.6% 0.142 299.9)

  • #E6789D

    #E6789D

    oklch(70.7% 0.141 360)

Open the analogous palette in the generator

Split complementary

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

  • #D17ECA

    #D17ECA

    oklch(70.7% 0.141 330)

  • #96AD3A

    #96AD3A

    oklch(70.8% 0.142 119.9)

  • #00BAA3

    #00BAA3

    oklch(70.7% 0.128 179.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17ECA

    #D17ECA

    oklch(70.7% 0.141 330)

  • #C39B12

    #C39B12

    oklch(70.7% 0.141 89.6)

  • #00B4CA

    #00B4CA

    oklch(70.5% 0.122 210.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17ECA

    #D17ECA

    oklch(70.7% 0.141 330)

  • #DF8937

    #DF8937

    oklch(70.7% 0.141 60.3)

  • #56B970

    #56B970

    oklch(70.8% 0.141 150)

  • #38AAEF

    #38AAEF

    oklch(70.6% 0.142 240.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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