#D17FC2

Closest named color: Lavender Pink (#DD85D7). oklch(70.5% 0.132 333.8), rgb(209, 127, 194).

Aa

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

About this color

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

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

Values

HEX#D17FC2
RGBrgb(209, 127, 194)
HSLhsl(311, 47%, 66%)
OKLCHoklch(70.5% 0.132 333.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 #D17FC2 2.79:1 Fails Lc -58.8 Large or bold text, headings
Black text on #D17FC2 7.52:1 AAA Lc 50.5 Large or bold text, headings
#D17FC2 text on white 2.79:1 Fails Lc 53.5 Large or bold text, headings
#D17FC2 text on black 7.52: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE6

    oklch(88.4% 0.047 333.8)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400 (this color)

    #D17FC2

    oklch(70.5% 0.132 333.8)

  6. Step 500

    500

    #C45CB3

    oklch(63.1% 0.169 334)

  7. Step 600

    600

    #AF3E9F

    oklch(55.6% 0.184 333.8)

  8. Step 700

    700

    #962F88

    oklch(49.1% 0.171 333.8)

  9. Step 800

    800

    #7A296E

    oklch(42.8% 0.141 334.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

#D17FC2 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)#7E93C40.131
Deuteranopia (no green cones)#939FC00.119
Tritanopia (no blue cones)#D883980.067
Achromatopsia (no color)#9B9B9B0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17FC2

    #D17FC2

    oklch(70.5% 0.132 333.8)

  • #53B879

    #53B879

    oklch(70.6% 0.133 153.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17FC2

    #D17FC2

    oklch(70.5% 0.132 333.8)

  • #B28AE3

    #B28AE3

    oklch(70.5% 0.133 303.9)

  • #E37A97

    #E37A97

    oklch(70.5% 0.133 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #D17FC2

    #D17FC2

    oklch(70.5% 0.132 333.8)

  • #8FAD49

    #8FAD49

    oklch(70.4% 0.132 123.8)

  • #00B9A8

    #00B9A8

    oklch(70.6% 0.125 183.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17FC2

    #D17FC2

    oklch(70.5% 0.132 333.8)

  • #BB9E29

    #BB9E29

    oklch(70.6% 0.132 94.2)

  • #00B3CF

    #00B3CF

    oklch(70.5% 0.124 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17FC2

    #D17FC2

    oklch(70.5% 0.132 333.8)

  • #D98C3C

    #D98C3C

    oklch(70.5% 0.132 63.4)

  • #53B879

    #53B879

    oklch(70.6% 0.133 153.8)

  • #4CA8EC

    #4CA8EC

    oklch(70.5% 0.132 243.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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