#D787DC

Closest named color: Lavender Pink (#DD85D7). oklch(73.5% 0.147 324.8), rgb(215, 135, 220).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.147)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.38:1
White text2.50:1

Values

HEX#D787DC
RGBrgb(215, 135, 220)
HSLhsl(296, 55%, 70%)
OKLCHoklch(73.5% 0.147 324.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 #D787DC 2.50:1 Fails Lc -54.0 Large or bold text, headings
Black text on #D787DC 8.38:1 AAA Lc 55.1 Large or bold text, headings
#D787DC text on white 2.50:1 Fails Lc 48.9 Large or bold text, headings
#D787DC text on black 8.38:1 AAA Lc -53.1 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EBCEEC

    oklch(88.5% 0.051 325)

  4. Step 300

    300

    #DFADE2

    oklch(81% 0.091 324.5)

  5. Step 400

    400 (this color)

    #D787DC

    oklch(73.5% 0.147 324.8)

  6. Step 500

    500

    #BF59C7

    oklch(63% 0.188 324.7)

  7. Step 600

    600

    #AB3AB3

    oklch(55.7% 0.203 325.1)

  8. Step 700

    700

    #922A9A

    oklch(49.1% 0.189 324.9)

  9. Step 800

    800

    #77257D

    oklch(42.7% 0.157 325)

  10. Step 900

    900

    #602565

    oklch(37.8% 0.122 324.5)

  11. Step 950

    950

    #38173B

    oklch(27% 0.076 324.2)

Export this scale for Tailwind in the Tailwind colors tool

#D787DC 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)#7F9DDF0.135
Deuteranopia (no green cones)#94A7D90.122
Tritanopia (no blue cones)#DB90A70.088
Achromatopsia (no color)#A4A4A40.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D787DC

    #D787DC

    oklch(73.5% 0.147 324.8)

  • #69C16D

    #69C16D

    oklch(73.5% 0.146 144.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D787DC

    #D787DC

    oklch(73.5% 0.147 324.8)

  • #B095FB

    #B095FB

    oklch(73.5% 0.146 294.7)

  • #F07FAE

    #F07FAE

    oklch(73.6% 0.147 355)

Open the analogous palette in the generator

Split complementary

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

  • #D787DC

    #D787DC

    oklch(73.5% 0.147 324.8)

  • #A7B335

    #A7B335

    oklch(73.4% 0.146 114.8)

  • #00C5A4

    #00C5A4

    oklch(73.5% 0.139 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D787DC

    #D787DC

    oklch(73.5% 0.147 324.8)

  • #D4A015

    #D4A015

    oklch(73.5% 0.147 84.4)

  • #00BFCF

    #00BFCF

    oklch(73.4% 0.126 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D787DC

    #D787DC

    oklch(73.5% 0.147 324.8)

  • #EF8D44

    #EF8D44

    oklch(73.5% 0.147 54.5)

  • #69C16D

    #69C16D

    oklch(73.5% 0.146 144.8)

  • #27B6F8

    #27B6F8

    oklch(73.4% 0.147 235.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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