#D987CB

Closest named color: Lavender Pink (#DD85D7). oklch(73% 0.132 333.3), rgb(217, 135, 203).

Aa

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

About this color

#D987CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.132 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.020 away. Black text reads best on it, at 8.27:1.

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

Values

HEX#D987CB
RGBrgb(217, 135, 203)
HSLhsl(310, 52%, 69%)
OKLCHoklch(73% 0.132 333.3)

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 #D987CB 2.53:1 Fails Lc -54.6 Large or bold text, headings
Black text on #D987CB 8.27:1 AAA Lc 54.5 Large or bold text, headings
#D987CB text on white 2.53:1 Fails Lc 49.5 Large or bold text, headings
#D987CB text on black 8.27:1 AAA Lc -52.5 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCEE6

    oklch(88.4% 0.047 333.8)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400 (this color)

    #D987CB

    oklch(73% 0.132 333.3)

  6. Step 500

    500

    #C35CB4

    oklch(63% 0.169 333.2)

  7. Step 600

    600

    #AE3EA0

    oklch(55.5% 0.184 333.1)

  8. Step 700

    700

    #952F89

    oklch(49% 0.171 332.9)

  9. Step 800

    800

    #79296F

    oklch(42.6% 0.141 333)

  10. Step 900

    900

    #62275A

    oklch(37.7% 0.109 333)

  11. Step 950

    950

    #3A1835

    oklch(27.1% 0.069 333.1)

Export this scale for Tailwind in the Tailwind colors tool

#D987CB 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)#869BCE0.129
Deuteranopia (no green cones)#9BA7C80.119
Tritanopia (no blue cones)#E08BA00.068
Achromatopsia (no color)#A3A3A30.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D987CB

    #D987CB

    oklch(73% 0.132 333.3)

  • #5DC080

    #5DC080

    oklch(73.1% 0.132 153.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D987CB

    #D987CB

    oklch(73% 0.132 333.3)

  • #B992EC

    #B992EC

    oklch(73% 0.133 303.2)

  • #EC829F

    #EC829F

    oklch(73% 0.133 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #D987CB

    #D987CB

    oklch(73% 0.132 333.3)

  • #98B551

    #98B551

    oklch(73% 0.132 123.1)

  • #00C2B0

    #00C2B0

    oklch(73.1% 0.13 183.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D987CB

    #D987CB

    oklch(73% 0.132 333.3)

  • #C4A533

    #C4A533

    oklch(73% 0.132 93.2)

  • #00BCD8

    #00BCD8

    oklch(73.1% 0.128 213.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D987CB

    #D987CB

    oklch(73% 0.132 333.3)

  • #E29445

    #E29445

    oklch(73.1% 0.133 63.2)

  • #5DC080

    #5DC080

    oklch(73.1% 0.132 153.3)

  • #54B0F4

    #54B0F4

    oklch(73% 0.132 243.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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