#D17EC5

Closest named color: Lavender Pink (#DD85D7). oklch(70.5% 0.137 332.3), rgb(209, 126, 197).

Aa

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

About this color

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

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

Values

HEX#D17EC5
RGBrgb(209, 126, 197)
HSLhsl(309, 47%, 66%)
OKLCHoklch(70.5% 0.137 332.3)

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 #D17EC5 2.79:1 Fails Lc -58.9 Large or bold text, headings
Black text on #D17EC5 7.50:1 AAA Lc 50.4 Large or bold text, headings
#D17EC5 text on white 2.79:1 Fails Lc 53.6 Large or bold text, headings
#D17EC5 text on black 7.50:1 AAA Lc -48.2 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

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE7

    oklch(88.5% 0.048 332.5)

  4. Step 300

    300

    #E2ADD9

    oklch(81% 0.084 332.3)

  5. Step 400

    400 (this color)

    #D17EC5

    oklch(70.5% 0.137 332.3)

  6. Step 500

    500

    #C45BB7

    oklch(63.2% 0.174 332.4)

  7. Step 600

    600

    #AF3CA3

    oklch(55.6% 0.19 332.2)

  8. Step 700

    700

    #962D8B

    oklch(49.1% 0.176 332.4)

  9. Step 800

    800

    #7A2771

    oklch(42.7% 0.146 332.4)

  10. Step 900

    900

    #63265C

    oklch(37.8% 0.114 332.2)

  11. Step 950

    950

    #3A1736

    oklch(27% 0.072 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#D17EC5 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)#7C93C80.134
Deuteranopia (no green cones)#929FC20.122
Tritanopia (no blue cones)#D883990.071
Achromatopsia (no color)#9A9A9A0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17EC5

    #D17EC5

    oklch(70.5% 0.137 332.3)

  • #53B875

    #53B875

    oklch(70.5% 0.137 152.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17EC5

    #D17EC5

    oklch(70.5% 0.137 332.3)

  • #B08AE6

    #B08AE6

    oklch(70.5% 0.136 302.1)

  • #E47999

    #E47999

    oklch(70.5% 0.136 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #D17EC5

    #D17EC5

    oklch(70.5% 0.137 332.3)

  • #91AD43

    #91AD43

    oklch(70.5% 0.136 122.5)

  • #00B9A6

    #00B9A6

    oklch(70.5% 0.126 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17EC5

    #D17EC5

    oklch(70.5% 0.137 332.3)

  • #BE9C1F

    #BE9C1F

    oklch(70.4% 0.136 92.1)

  • #00B3CC

    #00B3CC

    oklch(70.4% 0.123 212.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17EC5

    #D17EC5

    oklch(70.5% 0.137 332.3)

  • #DB8A38

    #DB8A38

    oklch(70.4% 0.137 62.2)

  • #53B875

    #53B875

    oklch(70.5% 0.137 152.3)

  • #44A9ED

    #44A9ED

    oklch(70.6% 0.136 242)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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