#D97EE4

Closest named color: Lavender Pink (#DD85D7). oklch(72.7% 0.171 323.1), rgb(217, 126, 228).

Aa

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

About this color

#D97EE4 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.171 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.029 away. Black text reads best on it, at 8.05:1.

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

Values

HEX#D97EE4
RGBrgb(217, 126, 228)
HSLhsl(294, 65%, 69%)
OKLCHoklch(72.7% 0.171 323.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 #D97EE4 2.60:1 Fails Lc -55.7 Large or bold text, headings
Black text on #D97EE4 8.05:1 AAA Lc 53.4 Large or bold text, headings
#D97EE4 text on white 2.60:1 Fails Lc 50.6 Large or bold text, headings
#D97EE4 text on black 8.05: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

    #F4E3F6

    oklch(93.5% 0.031 322.6)

  3. Step 200

    200

    #EDCDF0

    oklch(88.6% 0.058 323.4)

  4. Step 300

    300

    #E2A9E9

    oklch(80.8% 0.107 322.8)

  5. Step 400

    400 (this color)

    #D97EE4

    oklch(72.7% 0.171 323.1)

  6. Step 500

    500

    #C54DD4

    oklch(63.1% 0.219 323.1)

  7. Step 600

    600

    #B026C1

    oklch(55.7% 0.237 323)

  8. Step 700

    700

    #9713A6

    oklch(49.1% 0.221 323.1)

  9. Step 800

    800

    #7B1787

    oklch(42.8% 0.183 323.1)

  10. Step 900

    900

    #631D6C

    oklch(37.7% 0.142 322.9)

  11. Step 950

    950

    #3A133F

    oklch(27% 0.089 323)

Export this scale for Tailwind in the Tailwind colors tool

#D97EE4 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)#7199E80.158
Deuteranopia (no green cones)#8BA4E10.142
Tritanopia (no blue cones)#DC8AA60.104
Achromatopsia (no color)#A0A0A00.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97EE4

    #D97EE4

    oklch(72.7% 0.171 323.1)

  • #5CC15A

    #5CC15A

    oklch(72.7% 0.17 143.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97EE4

    #D97EE4

    oklch(72.7% 0.171 323.1)

  • #AC92FF

    #AC92FF

    oklch(72.8% 0.156 293.1)

  • #F574B0

    #F574B0

    oklch(72.7% 0.17 353)

Open the analogous palette in the generator

Split complementary

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

  • #D97EE4

    #D97EE4

    oklch(72.7% 0.171 323.1)

  • #A8B000

    #A8B000

    oklch(72.6% 0.162 113)

  • #00C39F

    #00C39F

    oklch(72.9% 0.14 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97EE4

    #D97EE4

    oklch(72.7% 0.171 323.1)

  • #D49C00

    #D49C00

    oklch(72.7% 0.149 82.7)

  • #00BDC9

    #00BDC9

    oklch(72.7% 0.124 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97EE4

    #D97EE4

    oklch(72.7% 0.171 323.1)

  • #F78327

    #F78327

    oklch(72.7% 0.171 53)

  • #5CC15A

    #5CC15A

    oklch(72.7% 0.17 143.2)

  • #00B5F5

    #00B5F5

    oklch(72.7% 0.15 233)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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