#D17CD1

Closest named color: Lavender Pink (#DD85D7). oklch(70.7% 0.151 327), rgb(209, 124, 209).

Aa

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

About this color

#D17CD1 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.151 and its hue 327°. 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.51:1.

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

Values

HEX#D17CD1
RGBrgb(209, 124, 209)
HSLhsl(300, 48%, 65%)
OKLCHoklch(70.7% 0.151 327)

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 #D17CD1 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #D17CD1 7.51:1 AAA Lc 50.5 Large or bold text, headings
#D17CD1 text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#D17CD1 text on black 7.51:1 AAA Lc -48.3 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EDCEEB

    oklch(88.6% 0.052 328)

  4. Step 300

    300

    #E2ABE1

    oklch(80.9% 0.096 327)

  5. Step 400

    400 (this color)

    #D17CD1

    oklch(70.7% 0.151 327)

  6. Step 500

    500

    #C356C5

    oklch(63.1% 0.193 326.9)

  7. Step 600

    600

    #AE35B1

    oklch(55.5% 0.209 326.9)

  8. Step 700

    700

    #962598

    oklch(49.1% 0.195 327.3)

  9. Step 800

    800

    #7A227C

    oklch(42.8% 0.162 327)

  10. Step 900

    900

    #622263

    oklch(37.6% 0.126 327.1)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#D17CD1 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)#7594D40.144
Deuteranopia (no green cones)#8C9FCE0.130
Tritanopia (no blue cones)#D6849D0.086
Achromatopsia (no color)#9B9B9B0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17CD1

    #D17CD1

    oklch(70.7% 0.151 327)

  • #56B966

    #56B966

    oklch(70.6% 0.151 147.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17CD1

    #D17CD1

    oklch(70.7% 0.151 327)

  • #AB8AF2

    #AB8AF2

    oklch(70.6% 0.151 297)

  • #E974A2

    #E974A2

    oklch(70.7% 0.152 356.9)

Open the analogous palette in the generator

Split complementary

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

  • #D17CD1

    #D17CD1

    oklch(70.7% 0.151 327)

  • #9AAC26

    #9AAC26

    oklch(70.7% 0.151 117.3)

  • #00BA9F

    #00BA9F

    oklch(70.5% 0.131 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17CD1

    #D17CD1

    oklch(70.7% 0.151 327)

  • #C79900

    #C79900

    oklch(70.6% 0.144 87)

  • #00B5C7

    #00B5C7

    oklch(70.7% 0.121 207.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17CD1

    #D17CD1

    oklch(70.7% 0.151 327)

  • #E58530

    #E58530

    oklch(70.7% 0.151 57.4)

  • #56B966

    #56B966

    oklch(70.6% 0.151 147.1)

  • #13ACF2

    #13ACF2

    oklch(70.6% 0.151 237.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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