#D97EC2

Closest named color: Lavender Pink (#DD85D7). oklch(71.3% 0.14 337.1), rgb(217, 126, 194).

Aa

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

About this color

#D97EC2 is a medium-light, vivid pink. In OKLCH its lightness is 71%, its chroma 0.140 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.032 away. Black text reads best on it, at 7.71:1.

Hue familyPinks
Lightnessmedium-light (71%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameLavender Pink (#DD85D7)
Black text7.71:1
White text2.72:1

Values

HEX#D97EC2
RGBrgb(217, 126, 194)
HSLhsl(315, 54%, 67%)
OKLCHoklch(71.3% 0.14 337.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 #D97EC2 2.72:1 Fails Lc -57.7 Large or bold text, headings
Black text on #D97EC2 7.71:1 AAA Lc 51.6 Large or bold text, headings
#D97EC2 text on white 2.72:1 Fails Lc 52.4 Large or bold text, headings
#D97EC2 text on black 7.71:1 AAA Lc -49.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCDE5

    oklch(88.4% 0.049 336.6)

  4. Step 300

    300

    #E6ABD5

    oklch(80.9% 0.088 337.3)

  5. Step 400

    400 (this color)

    #D97EC2

    oklch(71.3% 0.14 337.1)

  6. Step 500

    500

    #CA57B0

    oklch(63.1% 0.179 337.1)

  7. Step 600

    600

    #B5379C

    oklch(55.6% 0.195 336.9)

  8. Step 700

    700

    #9B2785

    oklch(49% 0.181 336.9)

  9. Step 800

    800

    #7E236C

    oklch(42.6% 0.15 336.9)

  10. Step 900

    900

    #662358

    oklch(37.7% 0.117 336.8)

  11. Step 950

    950

    #3C1633

    oklch(27% 0.073 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#D97EC2 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)#8094C40.142
Deuteranopia (no green cones)#97A2BF0.130
Tritanopia (no blue cones)#E281970.068
Achromatopsia (no color)#9D9D9D0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #D97EC2

    #D97EC2

    oklch(71.3% 0.14 337.1)

  • #45BC7E

    #45BC7E

    oklch(71.2% 0.141 156.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D97EC2

    #D97EC2

    oklch(71.3% 0.14 337.1)

  • #BA89E6

    #BA89E6

    oklch(71.3% 0.14 307.4)

  • #EA7A93

    #EA7A93

    oklch(71.2% 0.14 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #D97EC2

    #D97EC2

    oklch(71.3% 0.14 337.1)

  • #8BB24A

    #8BB24A

    oklch(71.3% 0.14 126.9)

  • #00BBAF

    #00BBAF

    oklch(71.3% 0.125 186.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D97EC2

    #D97EC2

    oklch(71.3% 0.14 337.1)

  • #BBA21D

    #BBA21D

    oklch(71.3% 0.14 97.4)

  • #00B5D6

    #00B5D6

    oklch(71.3% 0.127 217.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D97EC2

    #D97EC2

    oklch(71.3% 0.14 337.1)

  • #DC8F2F

    #DC8F2F

    oklch(71.3% 0.14 67)

  • #45BC7E

    #45BC7E

    oklch(71.2% 0.141 156.9)

  • #50A9F5

    #50A9F5

    oklch(71.4% 0.14 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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