#D87FE7

Closest named color: Lavender Pink (#DD85D7). oklch(72.9% 0.172 321.7), rgb(216, 127, 231).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.172)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.10:1
White text2.58:1

Values

HEX#D87FE7
RGBrgb(216, 127, 231)
HSLhsl(291, 68%, 70%)
OKLCHoklch(72.9% 0.172 321.7)

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 #D87FE7 2.58:1 Fails Lc -55.4 Large or bold text, headings
Black text on #D87FE7 8.10:1 AAA Lc 53.7 Large or bold text, headings
#D87FE7 text on white 2.58:1 Fails Lc 50.3 Large or bold text, headings
#D87FE7 text on black 8.10:1 AAA Lc -51.6 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF1

    oklch(88.5% 0.059 321.6)

  4. Step 300

    300

    #E1AAEA

    oklch(81% 0.106 321.7)

  5. Step 400

    400 (this color)

    #D87FE7

    oklch(72.9% 0.172 321.7)

  6. Step 500

    500

    #C34ED6

    oklch(63.1% 0.219 321.8)

  7. Step 600

    600

    #AE26C4

    oklch(55.6% 0.239 321.5)

  8. Step 700

    700

    #9614A9

    oklch(49.2% 0.222 321.8)

  9. Step 800

    800

    #791789

    oklch(42.6% 0.184 321.4)

  10. Step 900

    900

    #621D6E

    oklch(37.7% 0.144 321.3)

  11. Step 950

    950

    #3A1340

    oklch(27% 0.091 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#D87FE7 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)#719AEB0.156
Deuteranopia (no green cones)#8AA4E40.140
Tritanopia (no blue cones)#DA8CA80.106
Achromatopsia (no color)#A1A1A10.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87FE7

    #D87FE7

    oklch(72.9% 0.172 321.7)

  • #61C156

    #61C156

    oklch(72.8% 0.171 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87FE7

    #D87FE7

    oklch(72.9% 0.172 321.7)

  • #AA94FF

    #AA94FF

    oklch(73% 0.152 291.6)

  • #F574B3

    #F574B3

    oklch(72.8% 0.172 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #D87FE7

    #D87FE7

    oklch(72.9% 0.172 321.7)

  • #ABB000

    #ABB000

    oklch(72.9% 0.161 111.8)

  • #00C39D

    #00C39D

    oklch(72.8% 0.141 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87FE7

    #D87FE7

    oklch(72.9% 0.172 321.7)

  • #D69C00

    #D69C00

    oklch(72.9% 0.15 81.8)

  • #00BEC8

    #00BEC8

    oklch(72.9% 0.124 201.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87FE7

    #D87FE7

    oklch(72.9% 0.172 321.7)

  • #F9832B

    #F9832B

    oklch(73% 0.171 51.9)

  • #61C156

    #61C156

    oklch(72.8% 0.171 141.7)

  • #00B6F3

    #00B6F3

    oklch(72.9% 0.148 231.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D87FE7.

Similar named colors

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

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