#D97EE2

Closest named color: Lavender Pink (#DD85D7). oklch(72.6% 0.169 323.8), rgb(217, 126, 226).

Aa

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

About this color

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

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

Values

HEX#D97EE2
RGBrgb(217, 126, 226)
HSLhsl(295, 63%, 69%)
OKLCHoklch(72.6% 0.169 323.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 #D97EE2 2.61:1 Fails Lc -55.8 Large or bold text, headings
Black text on #D97EE2 8.03:1 AAA Lc 53.3 Large or bold text, headings
#D97EE2 text on white 2.61:1 Fails Lc 50.7 Large or bold text, headings
#D97EE2 text on black 8.03:1 AAA Lc -51.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCDF0

    oklch(88.6% 0.058 323.4)

  4. Step 300

    300

    #E3A9E8

    oklch(80.9% 0.107 323.8)

  5. Step 400

    400 (this color)

    #D97EE2

    oklch(72.6% 0.169 323.8)

  6. Step 500

    500

    #C54ED1

    oklch(63.1% 0.216 323.9)

  7. Step 600

    600

    #B027BE

    oklch(55.5% 0.234 323.8)

  8. Step 700

    700

    #9715A4

    oklch(49% 0.218 323.8)

  9. Step 800

    800

    #7B1885

    oklch(42.7% 0.18 323.9)

  10. Step 900

    900

    #631D6B

    oklch(37.6% 0.141 323.5)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#D97EE2 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)#7299E50.158
Deuteranopia (no green cones)#8CA4DF0.141
Tritanopia (no blue cones)#DC89A50.101
Achromatopsia (no color)#A0A0A00.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97EE2

    #D97EE2

    oklch(72.6% 0.169 323.8)

  • #5BC15C

    #5BC15C

    oklch(72.7% 0.169 143.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97EE2

    #D97EE2

    oklch(72.6% 0.169 323.8)

  • #AD91FF

    #AD91FF

    oklch(72.7% 0.157 293.8)

  • #F574AE

    #F574AE

    oklch(72.7% 0.169 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #D97EE2

    #D97EE2

    oklch(72.6% 0.169 323.8)

  • #A7B100

    #A7B100

    oklch(72.8% 0.163 113.8)

  • #00C2A0

    #00C2A0

    oklch(72.6% 0.138 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97EE2

    #D97EE2

    oklch(72.6% 0.169 323.8)

  • #D39D00

    #D39D00

    oklch(72.7% 0.149 83.8)

  • #00BDCA

    #00BDCA

    oklch(72.8% 0.124 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97EE2

    #D97EE2

    oklch(72.6% 0.169 323.8)

  • #F68427

    #F68427

    oklch(72.7% 0.169 53.7)

  • #5BC15C

    #5BC15C

    oklch(72.7% 0.169 143.8)

  • #00B4F6

    #00B4F6

    oklch(72.5% 0.152 233.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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