#D17FC0

Closest named color: Lavender Pink (#DD85D7). oklch(70.4% 0.13 334.9), rgb(209, 127, 192).

Aa

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

About this color

#D17FC0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.130 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.50:1.

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

Values

HEX#D17FC0
RGBrgb(209, 127, 192)
HSLhsl(312, 47%, 66%)
OKLCHoklch(70.4% 0.13 334.9)

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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCEE5

    oklch(88.4% 0.046 335.1)

  4. Step 300

    300

    #E2ADD6

    oklch(80.9% 0.082 334.5)

  5. Step 400

    400 (this color)

    #D17FC0

    oklch(70.4% 0.13 334.9)

  6. Step 500

    500

    #C45CB1

    oklch(63% 0.167 334.8)

  7. Step 600

    600

    #AF3F9D

    oklch(55.6% 0.181 334.6)

  8. Step 700

    700

    #963086

    oklch(49.1% 0.168 334.7)

  9. Step 800

    800

    #7A296D

    oklch(42.7% 0.14 334.7)

  10. Step 900

    900

    #632758

    oklch(37.8% 0.108 335.2)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#D17FC0 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)#7F93C20.130
Deuteranopia (no green cones)#949FBE0.119
Tritanopia (no blue cones)#D883970.066
Achromatopsia (no color)#9A9A9A0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17FC0

    #D17FC0

    oklch(70.4% 0.13 334.9)

  • #52B77B

    #52B77B

    oklch(70.3% 0.13 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17FC0

    #D17FC0

    oklch(70.4% 0.13 334.9)

  • #B38AE1

    #B38AE1

    oklch(70.5% 0.13 305)

  • #E27B95

    #E27B95

    oklch(70.4% 0.13 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #D17FC0

    #D17FC0

    oklch(70.4% 0.13 334.9)

  • #8DAD4C

    #8DAD4C

    oklch(70.3% 0.13 124.9)

  • #00B8AA

    #00B8AA

    oklch(70.4% 0.124 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17FC0

    #D17FC0

    oklch(70.4% 0.13 334.9)

  • #B99E2C

    #B99E2C

    oklch(70.4% 0.13 95.1)

  • #00B3D0

    #00B3D0

    oklch(70.6% 0.124 214.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17FC0

    #D17FC0

    oklch(70.4% 0.13 334.9)

  • #D78D3C

    #D78D3C

    oklch(70.5% 0.131 64.9)

  • #52B77B

    #52B77B

    oklch(70.3% 0.13 154.9)

  • #50A7EB

    #50A7EB

    oklch(70.4% 0.13 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 #D17FC0, closest first.

Similar named colors

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

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