#D97FE1

Closest named color: Lavender Pink (#DD85D7). oklch(72.7% 0.166 324.1), rgb(217, 127, 225).

Aa

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

About this color

#D97FE1 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.166 and its hue 324°. 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 8.07:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.07:1
White text2.60:1

Values

HEX#D97FE1
RGBrgb(217, 127, 225)
HSLhsl(295, 62%, 69%)
OKLCHoklch(72.7% 0.166 324.1)

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 #D97FE1 2.60:1 Fails Lc -55.6 Large or bold text, headings
Black text on #D97FE1 8.07:1 AAA Lc 53.5 Large or bold text, headings
#D97FE1 text on white 2.60:1 Fails Lc 50.5 Large or bold text, headings
#D97FE1 text on black 8.07:1 AAA Lc -51.4 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F5

    oklch(93.5% 0.03 324.1)

  3. Step 200

    200

    #EDCDEF

    oklch(88.5% 0.057 324.2)

  4. Step 300

    300

    #E2AAE7

    oklch(80.9% 0.104 323.7)

  5. Step 400

    400 (this color)

    #D97FE1

    oklch(72.7% 0.166 324.1)

  6. Step 500

    500

    #C54FD0

    oklch(63.1% 0.213 324.2)

  7. Step 600

    600

    #B029BD

    oklch(55.6% 0.232 324.1)

  8. Step 700

    700

    #9718A3

    oklch(49.1% 0.215 324)

  9. Step 800

    800

    #7B1A84

    oklch(42.8% 0.178 324.2)

  10. Step 900

    900

    #631E6A

    oklch(37.7% 0.139 323.9)

  11. Step 950

    950

    #3A133E

    oklch(26.9% 0.088 323.9)

Export this scale for Tailwind in the Tailwind colors tool

#D97FE1 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)#749AE40.155
Deuteranopia (no green cones)#8DA4DE0.139
Tritanopia (no blue cones)#DD8AA60.099
Achromatopsia (no color)#A0A0A00.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97FE1

    #D97FE1

    oklch(72.7% 0.166 324.1)

  • #5CC15F

    #5CC15F

    oklch(72.8% 0.166 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97FE1

    #D97FE1

    oklch(72.7% 0.166 324.1)

  • #AD91FF

    #AD91FF

    oklch(72.7% 0.157 293.8)

  • #F475AE

    #F475AE

    oklch(72.7% 0.167 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #D97FE1

    #D97FE1

    oklch(72.7% 0.166 324.1)

  • #A6B100

    #A6B100

    oklch(72.7% 0.164 114.2)

  • #00C2A0

    #00C2A0

    oklch(72.6% 0.138 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97FE1

    #D97FE1

    oklch(72.7% 0.166 324.1)

  • #D39D00

    #D39D00

    oklch(72.7% 0.149 83.8)

  • #00BDCB

    #00BDCB

    oklch(72.8% 0.124 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97FE1

    #D97FE1

    oklch(72.7% 0.166 324.1)

  • #F5852B

    #F5852B

    oklch(72.8% 0.167 53.8)

  • #5CC15F

    #5CC15F

    oklch(72.8% 0.166 144.2)

  • #00B5F7

    #00B5F7

    oklch(72.8% 0.152 233.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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