#D987C8

Closest named color: Lavender Pink (#DD85D7). oklch(72.9% 0.13 334.8), rgb(217, 135, 200).

Aa

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

About this color

#D987C8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.130 and its hue 335°. 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 8.24:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.24:1
White text2.54:1

Values

HEX#D987C8
RGBrgb(217, 135, 200)
HSLhsl(312, 52%, 69%)
OKLCHoklch(72.9% 0.13 334.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 #D987C8 2.54:1 Fails Lc -54.7 Large or bold text, headings
Black text on #D987C8 8.24:1 AAA Lc 54.4 Large or bold text, headings
#D987C8 text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#D987C8 text on black 8.24:1 AAA Lc -52.3 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4F0

    oklch(93.5% 0.023 334.3)

  3. Step 200

    200

    #EDCFE5

    oklch(88.6% 0.044 335.4)

  4. Step 300

    300

    #E2ADD6

    oklch(80.9% 0.082 334.5)

  5. Step 400

    400 (this color)

    #D987C8

    oklch(72.9% 0.13 334.8)

  6. Step 500

    500

    #C45DB1

    oklch(63.2% 0.166 334.9)

  7. Step 600

    600

    #AF3F9C

    oklch(55.6% 0.18 335.1)

  8. Step 700

    700

    #963086

    oklch(49.1% 0.168 334.7)

  9. Step 800

    800

    #7A296D

    oklch(42.7% 0.14 334.7)

  10. Step 900

    900

    #622758

    oklch(37.6% 0.108 334.5)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#D987C8 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)#879BCA0.129
Deuteranopia (no green cones)#9CA7C60.118
Tritanopia (no blue cones)#E18B9F0.065
Achromatopsia (no color)#A2A2A20.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #D987C8

    #D987C8

    oklch(72.9% 0.13 334.8)

  • #5CBF83

    #5CBF83

    oklch(72.9% 0.129 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D987C8

    #D987C8

    oklch(72.9% 0.13 334.8)

  • #BA92E9

    #BA92E9

    oklch(73% 0.129 304.5)

  • #EB839D

    #EB839D

    oklch(73% 0.13 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #D987C8

    #D987C8

    oklch(72.9% 0.13 334.8)

  • #95B555

    #95B555

    oklch(72.8% 0.129 124.8)

  • #00C1B2

    #00C1B2

    oklch(72.9% 0.128 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D987C8

    #D987C8

    oklch(72.9% 0.13 334.8)

  • #C1A637

    #C1A637

    oklch(72.9% 0.13 95.1)

  • #00BBD9

    #00BBD9

    oklch(72.9% 0.129 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D987C8

    #D987C8

    oklch(72.9% 0.13 334.8)

  • #DF9546

    #DF9546

    oklch(73% 0.129 64.9)

  • #5CBF83

    #5CBF83

    oklch(72.9% 0.129 154.9)

  • #59AFF3

    #59AFF3

    oklch(72.9% 0.13 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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