#D17ECB

Closest named color: Lavender Pink (#DD85D7). oklch(70.7% 0.142 329.6), rgb(209, 126, 203).

Aa

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

About this color

#D17ECB is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.142 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.030 away. Black text reads best on it, at 7.55:1.

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

Values

HEX#D17ECB
RGBrgb(209, 126, 203)
HSLhsl(304, 47%, 66%)
OKLCHoklch(70.7% 0.142 329.6)

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 #D17ECB 2.77:1 Fails Lc -58.6 Large or bold text, headings
Black text on #D17ECB 7.55:1 AAA Lc 50.7 Large or bold text, headings
#D17ECB text on white 2.77:1 Fails Lc 53.3 Large or bold text, headings
#D17ECB text on black 7.55: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

    #ECCEE9

    oklch(88.5% 0.049 329.2)

  4. Step 300

    300

    #E2ACDC

    oklch(80.9% 0.089 330.1)

  5. Step 400

    400 (this color)

    #D17ECB

    oklch(70.7% 0.142 329.6)

  6. Step 500

    500

    #C359BD

    oklch(63.1% 0.181 329.7)

  7. Step 600

    600

    #AE3AA9

    oklch(55.6% 0.197 329.6)

  8. Step 700

    700

    #952B91

    oklch(49.1% 0.182 329.5)

  9. Step 800

    800

    #792576

    oklch(42.6% 0.152 329.3)

  10. Step 900

    900

    #62255F

    oklch(37.7% 0.117 329.6)

  11. Step 950

    950

    #3A1738

    oklch(27.1% 0.074 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#D17ECB 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)#7A94CE0.136
Deuteranopia (no green cones)#909FC80.124
Tritanopia (no blue cones)#D7849B0.078
Achromatopsia (no color)#9B9B9B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17ECB

    #D17ECB

    oklch(70.7% 0.142 329.6)

  • #56B96F

    #56B96F

    oklch(70.8% 0.142 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17ECB

    #D17ECB

    oklch(70.7% 0.142 329.6)

  • #AE8BEC

    #AE8BEC

    oklch(70.8% 0.142 299.4)

  • #E6789E

    #E6789E

    oklch(70.7% 0.141 359.4)

Open the analogous palette in the generator

Split complementary

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

  • #D17ECB

    #D17ECB

    oklch(70.7% 0.142 329.6)

  • #96AD39

    #96AD39

    oklch(70.7% 0.142 119.8)

  • #00BAA3

    #00BAA3

    oklch(70.7% 0.128 179.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17ECB

    #D17ECB

    oklch(70.7% 0.142 329.6)

  • #C39B0E

    #C39B0E

    oklch(70.7% 0.142 89.7)

  • #00B5CA

    #00B5CA

    oklch(70.8% 0.122 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17ECB

    #D17ECB

    oklch(70.7% 0.142 329.6)

  • #E08837

    #E08837

    oklch(70.6% 0.142 59.3)

  • #56B96F

    #56B96F

    oklch(70.8% 0.142 149.7)

  • #36ABEF

    #36ABEF

    oklch(70.7% 0.142 239.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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