#D87DF9

Closest named color: Violet (#EE82EE). oklch(73.5% 0.193 316.4), rgb(216, 125, 249).

Aa

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

About this color

#D87DF9 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.193 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.045 away. Black text reads best on it, at 8.22:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.193)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text8.22:1
White text2.55:1

Values

HEX#D87DF9
RGBrgb(216, 125, 249)
HSLhsl(284, 91%, 73%)
OKLCHoklch(73.5% 0.193 316.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 #D87DF9 2.55:1 Fails Lc -54.7 Large or bold text, headings
Black text on #D87DF9 8.22:1 AAA Lc 54.4 Large or bold text, headings
#D87DF9 text on white 2.55:1 Fails Lc 49.6 Large or bold text, headings
#D87DF9 text on black 8.22:1 AAA Lc -52.3 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #E0A8F5

    oklch(80.9% 0.121 316.6)

  5. Step 400

    400 (this color)

    #D87DF9

    oklch(73.5% 0.193 316.4)

  6. Step 500

    500

    #C145EA

    oklch(63.1% 0.247 316.3)

  7. Step 600

    600

    #AD09D8

    oklch(55.6% 0.268 316.5)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800

    #780397

    oklch(42.6% 0.206 316.4)

  10. Step 900

    900

    #611679

    oklch(37.7% 0.161 316.1)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#D87DF9 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)#649CFD0.170
Deuteranopia (no green cones)#7FA5F60.153
Tritanopia (no blue cones)#D790B00.127
Achromatopsia (no color)#A2A2A20.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87DF9

    #D87DF9

    oklch(73.5% 0.193 316.4)

  • #6AC337

    #6AC337

    oklch(73.4% 0.193 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87DF9

    #D87DF9

    oklch(73.5% 0.193 316.4)

  • #A39AFF

    #A39AFF

    oklch(73.5% 0.144 286.4)

  • #FB6FC2

    #FB6FC2

    oklch(73.5% 0.192 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #D87DF9

    #D87DF9

    oklch(73.5% 0.193 316.4)

  • #B6AE00

    #B6AE00

    oklch(73.4% 0.157 106.4)

  • #00C794

    #00C794

    oklch(73.6% 0.152 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87DF9

    #D87DF9

    oklch(73.5% 0.193 316.4)

  • #DF9A00

    #DF9A00

    oklch(73.5% 0.154 76.7)

  • #00C1C3

    #00C1C3

    oklch(73.5% 0.125 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87DF9

    #D87DF9

    oklch(73.5% 0.193 316.4)

  • #FF803B

    #FF803B

    oklch(73.4% 0.174 46.2)

  • #6AC337

    #6AC337

    oklch(73.4% 0.193 136.5)

  • #00BAED

    #00BAED

    oklch(73.5% 0.141 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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