#D787D0

Closest named color: Lavender Pink (#DD85D7). oklch(73% 0.135 330), rgb(215, 135, 208).

Aa

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

About this color

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

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

Values

HEX#D787D0
RGBrgb(215, 135, 208)
HSLhsl(305, 50%, 69%)
OKLCHoklch(73% 0.135 330)

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 #D787D0 2.54:1 Fails Lc -54.7 Large or bold text, headings
Black text on #D787D0 8.26:1 AAA Lc 54.4 Large or bold text, headings
#D787D0 text on white 2.54:1 Fails Lc 49.6 Large or bold text, headings
#D787D0 text on black 8.26:1 AAA Lc -52.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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCFE8

    oklch(88.6% 0.046 330.5)

  4. Step 300

    300

    #E0ADDB

    oklch(80.8% 0.085 329.6)

  5. Step 400

    400 (this color)

    #D787D0

    oklch(73% 0.135 330)

  6. Step 500

    500

    #C15CBA

    oklch(63.1% 0.173 330.1)

  7. Step 600

    600

    #AC3EA6

    oklch(55.5% 0.188 330)

  8. Step 700

    700

    #942F8E

    oklch(49.1% 0.175 330.4)

  9. Step 800

    800

    #782974

    oklch(42.8% 0.144 329.8)

  10. Step 900

    900

    #61275D

    oklch(37.7% 0.111 330.2)

  11. Step 950

    950

    #391737

    oklch(26.9% 0.073 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#D787D0 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)#849CD30.129
Deuteranopia (no green cones)#98A6CD0.118
Tritanopia (no blue cones)#DD8DA20.074
Achromatopsia (no color)#A2A2A20.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #D787D0

    #D787D0

    oklch(73% 0.135 330)

  • #62BF79

    #62BF79

    oklch(72.9% 0.135 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D787D0

    #D787D0

    oklch(73% 0.135 330)

  • #B593F0

    #B593F0

    oklch(73% 0.135 299.9)

  • #EB81A4

    #EB81A4

    oklch(72.9% 0.135 359.9)

Open the analogous palette in the generator

Split complementary

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

  • #D787D0

    #D787D0

    oklch(73% 0.135 330)

  • #9DB449

    #9DB449

    oklch(73% 0.136 120.1)

  • #00C2AB

    #00C2AB

    oklch(72.9% 0.132 180.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D787D0

    #D787D0

    oklch(73% 0.135 330)

  • #C9A32E

    #C9A32E

    oklch(73% 0.135 89.8)

  • #00BDD3

    #00BDD3

    oklch(73.1% 0.126 209.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D787D0

    #D787D0

    oklch(73% 0.135 330)

  • #E59146

    #E59146

    oklch(73% 0.135 59.7)

  • #62BF79

    #62BF79

    oklch(72.9% 0.135 150)

  • #49B2F4

    #49B2F4

    oklch(73.1% 0.135 240.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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