#D97FC8

Closest named color: Lavender Pink (#DD85D7). oklch(71.7% 0.143 334.3), rgb(217, 127, 200).

Aa

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

About this color

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

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

Values

HEX#D97FC8
RGBrgb(217, 127, 200)
HSLhsl(311, 54%, 67%)
OKLCHoklch(71.7% 0.143 334.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 #D97FC8 2.68:1 Fails Lc -57.1 Large or bold text, headings
Black text on #D97FC8 7.82:1 AAA Lc 52.2 Large or bold text, headings
#D97FC8 text on white 2.68:1 Fails Lc 51.9 Large or bold text, headings
#D97FC8 text on black 7.82:1 AAA Lc -50.0 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

    #E5ABD8

    oklch(80.9% 0.089 334.5)

  5. Step 400

    400 (this color)

    #D97FC8

    oklch(71.7% 0.143 334.3)

  6. Step 500

    500

    #C856B6

    oklch(63% 0.183 334.1)

  7. Step 600

    600

    #B436A2

    oklch(55.7% 0.2 334.3)

  8. Step 700

    700

    #9A278A

    oklch(49.1% 0.184 334.3)

  9. Step 800

    800

    #7D2370

    oklch(42.7% 0.152 334.3)

  10. Step 900

    900

    #65235B

    oklch(37.7% 0.119 334.1)

  11. Step 950

    950

    #3C1635

    oklch(27.1% 0.075 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#D97FC8 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)#7F96CB0.142
Deuteranopia (no green cones)#96A3C50.131
Tritanopia (no blue cones)#E1839B0.072
Achromatopsia (no color)#9E9E9E0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97FC8

    #D97FC8

    oklch(71.7% 0.143 334.3)

  • #4BBD7A

    #4BBD7A

    oklch(71.6% 0.143 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97FC8

    #D97FC8

    oklch(71.7% 0.143 334.3)

  • #B88BEC

    #B88BEC

    oklch(71.7% 0.144 304.4)

  • #EC7A99

    #EC7A99

    oklch(71.7% 0.143 4.1)

Open the analogous palette in the generator

Split complementary

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

  • #D97FC8

    #D97FC8

    oklch(71.7% 0.143 334.3)

  • #91B243

    #91B243

    oklch(71.6% 0.143 124)

  • #00BDAD

    #00BDAD

    oklch(71.7% 0.127 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97FC8

    #D97FC8

    oklch(71.7% 0.143 334.3)

  • #C1A113

    #C1A113

    oklch(71.7% 0.143 94.2)

  • #00B7D4

    #00B7D4

    oklch(71.7% 0.126 214.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97FC8

    #D97FC8

    oklch(71.7% 0.143 334.3)

  • #E18E31

    #E18E31

    oklch(71.8% 0.144 64.1)

  • #4BBD7A

    #4BBD7A

    oklch(71.6% 0.143 154.5)

  • #46ACF6

    #46ACF6

    oklch(71.8% 0.143 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 #D97FC8, closest first.

Similar named colors

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

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