#D97FC9

Closest named color: Lavender Pink (#DD85D7). oklch(71.7% 0.144 333.8), rgb(217, 127, 201).

Aa

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

About this color

#D97FC9 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.144 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.023 away. Black text reads best on it, at 7.82:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.144)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text7.82:1
White text2.68:1

Values

HEX#D97FC9
RGBrgb(217, 127, 201)
HSLhsl(311, 54%, 67%)
OKLCHoklch(71.7% 0.144 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 #D97FC9 2.68:1 Fails Lc -57.0 Large or bold text, headings
Black text on #D97FC9 7.82:1 AAA Lc 52.2 Large or bold text, headings
#D97FC9 text on white 2.68:1 Fails Lc 51.8 Large or bold text, headings
#D97FC9 text on black 7.82:1 AAA Lc -50.1 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E5ABD9

    oklch(80.9% 0.09 333.9)

  5. Step 400

    400 (this color)

    #D97FC9

    oklch(71.7% 0.144 333.8)

  6. Step 500

    500

    #C856B7

    oklch(63.1% 0.184 333.7)

  7. Step 600

    600

    #B335A3

    oklch(55.5% 0.201 333.5)

  8. Step 700

    700

    #9A268B

    oklch(49.1% 0.186 333.9)

  9. Step 800

    800

    #7D2271

    oklch(42.6% 0.154 333.8)

  10. Step 900

    900

    #65235B

    oklch(37.7% 0.119 334.1)

  11. Step 950

    950

    #3B1536

    oklch(26.9% 0.077 332.8)

Export this scale for Tailwind in the Tailwind colors tool

#D97FC9 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)#7E96CC0.144
Deuteranopia (no green cones)#96A3C60.131
Tritanopia (no blue cones)#E1849B0.074
Achromatopsia (no color)#9E9E9E0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97FC9

    #D97FC9

    oklch(71.7% 0.144 333.8)

  • #4CBD79

    #4CBD79

    oklch(71.6% 0.143 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97FC9

    #D97FC9

    oklch(71.7% 0.144 333.8)

  • #B78BED

    #B78BED

    oklch(71.7% 0.145 303.7)

  • #EC7A9A

    #EC7A9A

    oklch(71.7% 0.144 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #D97FC9

    #D97FC9

    oklch(71.7% 0.144 333.8)

  • #91B241

    #91B241

    oklch(71.6% 0.145 123.9)

  • #00BDAC

    #00BDAC

    oklch(71.7% 0.127 183.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97FC9

    #D97FC9

    oklch(71.7% 0.144 333.8)

  • #C2A10F

    #C2A10F

    oklch(71.8% 0.144 93.8)

  • #00B7D3

    #00B7D3

    oklch(71.7% 0.126 213.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97FC9

    #D97FC9

    oklch(71.7% 0.144 333.8)

  • #E18E30

    #E18E30

    oklch(71.7% 0.144 64.3)

  • #4CBD79

    #4CBD79

    oklch(71.6% 0.143 154)

  • #44ACF7

    #44ACF7

    oklch(71.7% 0.145 243.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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