#D87FEB

Closest named color: Lavender Pink (#DD85D7). oklch(73.1% 0.176 320.4), rgb(216, 127, 235).

Aa

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

About this color

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

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

Values

HEX#D87FEB
RGBrgb(216, 127, 235)
HSLhsl(289, 73%, 71%)
OKLCHoklch(73.1% 0.176 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 #D87FEB 2.57:1 Fails Lc -55.2 Large or bold text, headings
Black text on #D87FEB 8.15:1 AAA Lc 54.0 Large or bold text, headings
#D87FEB text on white 2.57:1 Fails Lc 50.0 Large or bold text, headings
#D87FEB text on black 8.15:1 AAA Lc -51.9 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

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300

    #E1A9EC

    oklch(80.9% 0.11 320.8)

  5. Step 400

    400 (this color)

    #D87FEB

    oklch(73.1% 0.176 320.4)

  6. Step 500

    500

    #C24DDB

    oklch(63.1% 0.224 320.1)

  7. Step 600

    600

    #AE23C8

    oklch(55.6% 0.244 320.4)

  8. Step 700

    700

    #950FAD

    oklch(49.1% 0.227 320.3)

  9. Step 800

    800

    #79158C

    oklch(42.7% 0.188 320.3)

  10. Step 900

    900

    #621C70

    oklch(37.7% 0.147 320.4)

  11. Step 950

    950

    #391342

    oklch(27% 0.092 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#D87FEB 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)#6F9BEF0.158
Deuteranopia (no green cones)#88A5E80.143
Tritanopia (no blue cones)#D98DAA0.110
Achromatopsia (no color)#A1A1A10.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87FEB

    #D87FEB

    oklch(73.1% 0.176 320.4)

  • #64C251

    #64C251

    oklch(73.2% 0.176 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87FEB

    #D87FEB

    oklch(73.1% 0.176 320.4)

  • #A895FF

    #A895FF

    oklch(73% 0.151 290.4)

  • #F774B7

    #F774B7

    oklch(73.2% 0.175 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #D87FEB

    #D87FEB

    oklch(73.1% 0.176 320.4)

  • #AEB000

    #AEB000

    oklch(73.1% 0.16 110.6)

  • #00C49B

    #00C49B

    oklch(73% 0.143 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87FEB

    #D87FEB

    oklch(73.1% 0.176 320.4)

  • #D99C00

    #D99C00

    oklch(73.2% 0.151 80.5)

  • #00BFC7

    #00BFC7

    oklch(73.1% 0.124 200.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87FEB

    #D87FEB

    oklch(73.1% 0.176 320.4)

  • #FC812B

    #FC812B

    oklch(73.1% 0.175 50.3)

  • #64C251

    #64C251

    oklch(73.2% 0.176 140.4)

  • #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 #D87FEB, closest first.

Similar named colors

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

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