#D87FEC

Closest named color: Lavender Pink (#DD85D7). oklch(73.1% 0.177 320.1), rgb(216, 127, 236).

Aa

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

About this color

#D87FEC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.177 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.038 away. Black text reads best on it, at 8.16:1.

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

Values

HEX#D87FEC
RGBrgb(216, 127, 236)
HSLhsl(289, 74%, 71%)
OKLCHoklch(73.1% 0.177 320.1)

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 #D87FEC 2.57:1 Fails Lc -55.1 Large or bold text, headings
Black text on #D87FEC 8.16:1 AAA Lc 54.0 Large or bold text, headings
#D87FEC text on white 2.57:1 Fails Lc 50.0 Large or bold text, headings
#D87FEC text on black 8.16:1 AAA Lc -52.0 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF3

    oklch(88.6% 0.061 320)

  4. Step 300

    300

    #E1A9ED

    oklch(80.9% 0.111 320.3)

  5. Step 400

    400 (this color)

    #D87FEC

    oklch(73.1% 0.177 320.1)

  6. Step 500

    500

    #C24CDC

    oklch(63.1% 0.226 319.9)

  7. Step 600

    600

    #AE22C9

    oklch(55.6% 0.246 320.2)

  8. Step 700

    700

    #950EAE

    oklch(49.1% 0.228 320)

  9. Step 800

    800

    #79148D

    oklch(42.7% 0.189 320)

  10. Step 900

    900

    #621C70

    oklch(37.7% 0.147 320.4)

  11. Step 950

    950

    #391242

    oklch(26.9% 0.094 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#D87FEC 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)#6E9BF00.159
Deuteranopia (no green cones)#87A5E90.144
Tritanopia (no blue cones)#D98DAB0.110
Achromatopsia (no color)#A1A1A10.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87FEC

    #D87FEC

    oklch(73.1% 0.177 320.1)

  • #64C24F

    #64C24F

    oklch(73.1% 0.177 140.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87FEC

    #D87FEC

    oklch(73.1% 0.177 320.1)

  • #A896FF

    #A896FF

    oklch(73.2% 0.149 290.1)

  • #F773B7

    #F773B7

    oklch(73.1% 0.177 350.2)

Open the analogous palette in the generator

Split complementary

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

  • #D87FEC

    #D87FEC

    oklch(73.1% 0.177 320.1)

  • #AFB000

    #AFB000

    oklch(73.2% 0.16 110.2)

  • #00C59A

    #00C59A

    oklch(73.2% 0.145 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87FEC

    #D87FEC

    oklch(73.1% 0.177 320.1)

  • #D99B00

    #D99B00

    oklch(73% 0.151 79.9)

  • #00BFC7

    #00BFC7

    oklch(73.1% 0.124 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87FEC

    #D87FEC

    oklch(73.1% 0.177 320.1)

  • #FD812B

    #FD812B

    oklch(73.2% 0.176 50.1)

  • #64C24F

    #64C24F

    oklch(73.1% 0.177 140.1)

  • #00B7F2

    #00B7F2

    oklch(73% 0.146 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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