#D97EC8

Closest named color: Lavender Pink (#DD85D7). oklch(71.5% 0.145 334.2), rgb(217, 126, 200).

Aa

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

About this color

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

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

Values

HEX#D97EC8
RGBrgb(217, 126, 200)
HSLhsl(311, 54%, 67%)
OKLCHoklch(71.5% 0.145 334.2)

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 #D97EC8 2.70:1 Fails Lc -57.3 Large or bold text, headings
Black text on #D97EC8 7.76:1 AAA Lc 51.9 Large or bold text, headings
#D97EC8 text on white 2.70:1 Fails Lc 52.1 Large or bold text, headings
#D97EC8 text on black 7.76:1 AAA Lc -49.7 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

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E5ABD9

    oklch(80.9% 0.09 333.9)

  5. Step 400

    400 (this color)

    #D97EC8

    oklch(71.5% 0.145 334.2)

  6. Step 500

    500

    #C955B6

    oklch(63% 0.186 334.4)

  7. Step 600

    600

    #B434A2

    oklch(55.5% 0.202 334.2)

  8. Step 700

    700

    #9B258B

    oklch(49.1% 0.188 334.3)

  9. Step 800

    800

    #7E2271

    oklch(42.8% 0.155 334.2)

  10. Step 900

    900

    #66225B

    oklch(37.7% 0.121 334.6)

  11. Step 950

    950

    #3C1535

    oklch(27% 0.077 335)

Export this scale for Tailwind in the Tailwind colors tool

#D97EC8 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)#7E95CB0.144
Deuteranopia (no green cones)#96A2C50.131
Tritanopia (no blue cones)#E1829A0.073
Achromatopsia (no color)#9D9D9D0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97EC8

    #D97EC8

    oklch(71.5% 0.145 334.2)

  • #49BD79

    #49BD79

    oklch(71.5% 0.145 154.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97EC8

    #D97EC8

    oklch(71.5% 0.145 334.2)

  • #B78AEC

    #B78AEC

    oklch(71.5% 0.145 304.1)

  • #EC7998

    #EC7998

    oklch(71.5% 0.145 4.3)

Open the analogous palette in the generator

Split complementary

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

  • #D97EC8

    #D97EC8

    oklch(71.5% 0.145 334.2)

  • #90B241

    #90B241

    oklch(71.6% 0.145 124.3)

  • #00BCAC

    #00BCAC

    oklch(71.5% 0.126 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97EC8

    #D97EC8

    oklch(71.5% 0.145 334.2)

  • #C1A009

    #C1A009

    oklch(71.5% 0.145 93.9)

  • #00B6D3

    #00B6D3

    oklch(71.4% 0.126 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97EC8

    #D97EC8

    oklch(71.5% 0.145 334.2)

  • #E18D2D

    #E18D2D

    oklch(71.6% 0.146 64.2)

  • #49BD79

    #49BD79

    oklch(71.5% 0.145 154.4)

  • #44ABF7

    #44ABF7

    oklch(71.5% 0.146 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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