#D787E8

Closest named color: Lavender Pink (#DD85D7). oklch(74.1% 0.159 320.4), rgb(215, 135, 232).

Aa

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

About this color

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

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

Values

HEX#D787E8
RGBrgb(215, 135, 232)
HSLhsl(289, 68%, 72%)
OKLCHoklch(74.1% 0.159 320.4)

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 #D787E8 2.46:1 Fails Lc -53.2 Large or bold text, headings
Black text on #D787E8 8.52:1 AAA Lc 55.8 Large or bold text, headings
#D787E8 text on white 2.46:1 Fails Lc 48.2 Large or bold text, headings
#D787E8 text on black 8.52:1 AAA Lc -53.8 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

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF0

    oklch(88.5% 0.055 320.3)

  4. Step 300

    300

    #DEACE8

    oklch(80.9% 0.099 320.7)

  5. Step 400

    400 (this color)

    #D787E8

    oklch(74.1% 0.159 320.4)

  6. Step 500

    500

    #BD56D3

    oklch(63.1% 0.202 320.2)

  7. Step 600

    600

    #A934C0

    oklch(55.6% 0.22 320.5)

  8. Step 700

    700

    #9124A6

    oklch(49.2% 0.205 320.5)

  9. Step 800

    800

    #762186

    oklch(42.8% 0.17 320.8)

  10. Step 900

    900

    #5F226C

    oklch(37.7% 0.133 320.2)

  11. Step 950

    950

    #38153F

    oklch(27% 0.085 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#D787E8 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)#7A9FEB0.140
Deuteranopia (no green cones)#8FA8E50.128
Tritanopia (no blue cones)#D993AD0.100
Achromatopsia (no color)#A5A5A50.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #D787E8

    #D787E8

    oklch(74.1% 0.159 320.4)

  • #6FC35F

    #6FC35F

    oklch(74.1% 0.159 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D787E8

    #D787E8

    oklch(74.1% 0.159 320.4)

  • #AB99FF

    #AB99FF

    oklch(74% 0.145 290.5)

  • #F47DB8

    #F47DB8

    oklch(74.1% 0.159 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #D787E8

    #D787E8

    oklch(74.1% 0.159 320.4)

  • #B1B312

    #B1B312

    oklch(74.1% 0.159 110.5)

  • #00C89E

    #00C89E

    oklch(74.1% 0.146 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D787E8

    #D787E8

    oklch(74.1% 0.159 320.4)

  • #DC9E00

    #DC9E00

    oklch(73.9% 0.153 80.4)

  • #00C2CB

    #00C2CB

    oklch(74% 0.126 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D787E8

    #D787E8

    oklch(74.1% 0.159 320.4)

  • #F88942

    #F88942

    oklch(74% 0.159 50.4)

  • #6FC35F

    #6FC35F

    oklch(74.1% 0.159 140.5)

  • #00BAF6

    #00BAF6

    oklch(73.9% 0.148 230.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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