#D17EC0

Closest named color: Lavender Pink (#DD85D7). oklch(70.3% 0.132 334.8), rgb(209, 126, 192).

Aa

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

About this color

#D17EC0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.132 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.040 away. Black text reads best on it, at 7.45:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.45:1
White text2.81:1

Values

HEX#D17EC0
RGBrgb(209, 126, 192)
HSLhsl(312, 47%, 66%)
OKLCHoklch(70.3% 0.132 334.8)

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 #D17EC0 2.81:1 Fails Lc -59.2 Large or bold text, headings
Black text on #D17EC0 7.45:1 AAA Lc 50.1 Large or bold text, headings
#D17EC0 text on white 2.81:1 Fails Lc 53.9 Large or bold text, headings
#D17EC0 text on black 7.45:1 AAA Lc -47.9 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EDCEE5

    oklch(88.4% 0.046 335.1)

  4. Step 300

    300

    #E3ADD6

    oklch(81% 0.083 335.1)

  5. Step 400

    400 (this color)

    #D17EC0

    oklch(70.3% 0.132 334.8)

  6. Step 500

    500

    #C55CB2

    oklch(63.2% 0.169 334.8)

  7. Step 600

    600

    #B03E9D

    oklch(55.7% 0.183 335)

  8. Step 700

    700

    #972F86

    oklch(49.2% 0.17 335.1)

  9. Step 800

    800

    #7B286D

    oklch(42.7% 0.142 335.1)

  10. Step 900

    900

    #632659

    oklch(37.7% 0.111 334.4)

  11. Step 950

    950

    #3A1734

    oklch(26.9% 0.07 334.3)

Export this scale for Tailwind in the Tailwind colors tool

#D17EC0 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)#7E92C20.131
Deuteranopia (no green cones)#939EBE0.120
Tritanopia (no blue cones)#D882970.066
Achromatopsia (no color)#9A9A9A0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17EC0

    #D17EC0

    oklch(70.3% 0.132 334.8)

  • #50B77A

    #50B77A

    oklch(70.2% 0.132 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17EC0

    #D17EC0

    oklch(70.3% 0.132 334.8)

  • #B289E1

    #B289E1

    oklch(70.3% 0.132 304.7)

  • #E37A94

    #E37A94

    oklch(70.4% 0.132 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #D17EC0

    #D17EC0

    oklch(70.3% 0.132 334.8)

  • #8DAD4A

    #8DAD4A

    oklch(70.3% 0.132 124.7)

  • #00B8A9

    #00B8A9

    oklch(70.3% 0.124 184.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17EC0

    #D17EC0

    oklch(70.3% 0.132 334.8)

  • #B99D28

    #B99D28

    oklch(70.1% 0.132 94.7)

  • #00B2CF

    #00B2CF

    oklch(70.3% 0.124 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17EC0

    #D17EC0

    oklch(70.3% 0.132 334.8)

  • #D78C3A

    #D78C3A

    oklch(70.3% 0.132 64.7)

  • #50B77A

    #50B77A

    oklch(70.2% 0.132 154.9)

  • #4EA7EC

    #4EA7EC

    oklch(70.4% 0.132 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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