#D787E2

Closest named color: Lavender Pink (#DD85D7). oklch(73.8% 0.153 322.6), rgb(215, 135, 226).

Aa

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

About this color

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

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

Values

HEX#D787E2
RGBrgb(215, 135, 226)
HSLhsl(293, 61%, 71%)
OKLCHoklch(73.8% 0.153 322.6)

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 #D787E2 2.48:1 Fails Lc -53.6 Large or bold text, headings
Black text on #D787E2 8.45:1 AAA Lc 55.4 Large or bold text, headings
#D787E2 text on white 2.48:1 Fails Lc 48.6 Large or bold text, headings
#D787E2 text on black 8.45:1 AAA Lc -53.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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEE

    oklch(88.5% 0.053 323.1)

  4. Step 300

    300

    #DEACE5

    oklch(80.8% 0.095 322.3)

  5. Step 400

    400 (this color)

    #D787E2

    oklch(73.8% 0.153 322.6)

  6. Step 500

    500

    #BE58CD

    oklch(63.1% 0.194 322.4)

  7. Step 600

    600

    #AA37BA

    oklch(55.7% 0.212 322.5)

  8. Step 700

    700

    #9127A0

    oklch(49% 0.197 322.4)

  9. Step 800

    800

    #762382

    oklch(42.7% 0.164 322.3)

  10. Step 900

    900

    #602468

    oklch(37.8% 0.127 322.8)

  11. Step 950

    950

    #38163D

    oklch(27% 0.081 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#D787E2 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)#7C9EE50.138
Deuteranopia (no green cones)#91A8DF0.126
Tritanopia (no blue cones)#DA91AA0.093
Achromatopsia (no color)#A4A4A40.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #D787E2

    #D787E2

    oklch(73.8% 0.153 322.6)

  • #6CC266

    #6CC266

    oklch(73.8% 0.152 142.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D787E2

    #D787E2

    oklch(73.8% 0.153 322.6)

  • #AE97FF

    #AE97FF

    oklch(73.9% 0.148 292.6)

  • #F27EB3

    #F27EB3

    oklch(73.8% 0.153 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #D787E2

    #D787E2

    oklch(73.8% 0.153 322.6)

  • #ACB327

    #ACB327

    oklch(73.7% 0.153 112.6)

  • #00C6A1

    #00C6A1

    oklch(73.7% 0.142 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D787E2

    #D787E2

    oklch(73.8% 0.153 322.6)

  • #D99F00

    #D99F00

    oklch(73.8% 0.152 82.3)

  • #00C1CC

    #00C1CC

    oklch(73.8% 0.126 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D787E2

    #D787E2

    oklch(73.8% 0.153 322.6)

  • #F48B43

    #F48B43

    oklch(73.8% 0.153 52.2)

  • #6CC266

    #6CC266

    oklch(73.8% 0.152 142.5)

  • #00B9F9

    #00B9F9

    oklch(73.9% 0.151 232.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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