#D97ED4

Closest named color: Lavender Pink (#DD85D7). oklch(72% 0.156 329), rgb(217, 126, 212).

Aa

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

About this color

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

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

Values

HEX#D97ED4
RGBrgb(217, 126, 212)
HSLhsl(303, 54%, 67%)
OKLCHoklch(72% 0.156 329)

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 #D97ED4 2.66:1 Fails Lc -56.7 Large or bold text, headings
Black text on #D97ED4 7.88:1 AAA Lc 52.5 Large or bold text, headings
#D97ED4 text on white 2.66:1 Fails Lc 51.5 Large or bold text, headings
#D97ED4 text on black 7.88:1 AAA Lc -50.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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EECDEB

    oklch(88.5% 0.054 328.9)

  4. Step 300

    300

    #E4AAE0

    oklch(80.9% 0.098 328.7)

  5. Step 400

    400 (this color)

    #D97ED4

    oklch(72% 0.156 329)

  6. Step 500

    500

    #C752C3

    oklch(63% 0.199 329)

  7. Step 600

    600

    #B22FAF

    oklch(55.5% 0.216 329)

  8. Step 700

    700

    #991F97

    oklch(49.1% 0.202 328.9)

  9. Step 800

    800

    #7C1E7A

    oklch(42.6% 0.166 328.9)

  10. Step 900

    900

    #652062

    oklch(37.7% 0.13 329.6)

  11. Step 950

    950

    #3B143A

    oklch(27% 0.083 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#D97ED4 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)#7997D70.150
Deuteranopia (no green cones)#91A3D10.136
Tritanopia (no blue cones)#DF869F0.087
Achromatopsia (no color)#9E9E9E0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97ED4

    #D97ED4

    oklch(72% 0.156 329)

  • #51BF6C

    #51BF6C

    oklch(72% 0.156 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97ED4

    #D97ED4

    oklch(72% 0.156 329)

  • #B38CF8

    #B38CF8

    oklch(72% 0.156 299.1)

  • #F077A2

    #F077A2

    oklch(72% 0.155 359.2)

Open the analogous palette in the generator

Split complementary

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

  • #D97ED4

    #D97ED4

    oklch(72% 0.156 329)

  • #9BB129

    #9BB129

    oklch(71.9% 0.155 118.7)

  • #00BFA6

    #00BFA6

    oklch(72% 0.132 178.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97ED4

    #D97ED4

    oklch(72% 0.156 329)

  • #CA9E00

    #CA9E00

    oklch(72% 0.147 88.6)

  • #00B9CE

    #00B9CE

    oklch(71.9% 0.124 209.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97ED4

    #D97ED4

    oklch(72% 0.156 329)

  • #EA892A

    #EA892A

    oklch(72% 0.155 59.2)

  • #51BF6C

    #51BF6C

    oklch(72% 0.156 149)

  • #1EB0FB

    #1EB0FB

    oklch(72.1% 0.156 239)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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