#D97FE0

Closest named color: Lavender Pink (#DD85D7). oklch(72.7% 0.165 324.5), rgb(217, 127, 224).

Aa

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

About this color

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

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

Values

HEX#D97FE0
RGBrgb(217, 127, 224)
HSLhsl(296, 61%, 69%)
OKLCHoklch(72.7% 0.165 324.5)

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 #D97FE0 2.60:1 Fails Lc -55.7 Large or bold text, headings
Black text on #D97FE0 8.06:1 AAA Lc 53.5 Large or bold text, headings
#D97FE0 text on white 2.60:1 Fails Lc 50.5 Large or bold text, headings
#D97FE0 text on black 8.06: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

    #E2AAE6

    oklch(80.9% 0.103 324.3)

  5. Step 400

    400 (this color)

    #D97FE0

    oklch(72.7% 0.165 324.5)

  6. Step 500

    500

    #C550CF

    oklch(63.2% 0.211 324.5)

  7. Step 600

    600

    #B02ABC

    oklch(55.6% 0.23 324.3)

  8. Step 700

    700

    #9719A2

    oklch(49.1% 0.214 324.4)

  9. Step 800

    800

    #7B1A83

    oklch(42.7% 0.177 324.6)

  10. Step 900

    900

    #631E69

    oklch(37.6% 0.138 324.5)

  11. Step 950

    950

    #3A143E

    oklch(27% 0.087 323.8)

Export this scale for Tailwind in the Tailwind colors tool

#D97FE0 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)#7599E30.154
Deuteranopia (no green cones)#8DA4DD0.139
Tritanopia (no blue cones)#DD8AA50.099
Achromatopsia (no color)#A0A0A00.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97FE0

    #D97FE0

    oklch(72.7% 0.165 324.5)

  • #5BC160

    #5BC160

    oklch(72.7% 0.165 144.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97FE0

    #D97FE0

    oklch(72.7% 0.165 324.5)

  • #AE90FF

    #AE90FF

    oklch(72.6% 0.159 294.6)

  • #F476AD

    #F476AD

    oklch(72.8% 0.165 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #D97FE0

    #D97FE0

    oklch(72.7% 0.165 324.5)

  • #A5B100

    #A5B100

    oklch(72.6% 0.164 114.6)

  • #00C2A1

    #00C2A1

    oklch(72.7% 0.137 174.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97FE0

    #D97FE0

    oklch(72.7% 0.165 324.5)

  • #D29D00

    #D29D00

    oklch(72.6% 0.149 84.3)

  • #00BDCB

    #00BDCB

    oklch(72.8% 0.124 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97FE0

    #D97FE0

    oklch(72.7% 0.165 324.5)

  • #F4862B

    #F4862B

    oklch(72.8% 0.165 54.6)

  • #5BC160

    #5BC160

    oklch(72.7% 0.165 144.5)

  • #00B4F8

    #00B4F8

    oklch(72.6% 0.154 234.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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