#D87FE2

Closest named color: Lavender Pink (#DD85D7). oklch(72.7% 0.167 323.4), rgb(216, 127, 226).

Aa

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

About this color

#D87FE2 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.167 and its hue 323°. 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.05:1.

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

Values

HEX#D87FE2
RGBrgb(216, 127, 226)
HSLhsl(294, 63%, 69%)
OKLCHoklch(72.7% 0.167 323.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 #D87FE2 2.60:1 Fails Lc -55.7 Large or bold text, headings
Black text on #D87FE2 8.05:1 AAA Lc 53.4 Large or bold text, headings
#D87FE2 text on white 2.60:1 Fails Lc 50.6 Large or bold text, headings
#D87FE2 text on black 8.05:1 AAA Lc -51.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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #EDCDF0

    oklch(88.6% 0.058 323.4)

  4. Step 300

    300

    #E2AAE7

    oklch(80.9% 0.104 323.7)

  5. Step 400

    400 (this color)

    #D87FE2

    oklch(72.7% 0.167 323.4)

  6. Step 500

    500

    #C450D1

    oklch(63.1% 0.212 323.5)

  7. Step 600

    600

    #AF2ABE

    oklch(55.6% 0.231 323.4)

  8. Step 700

    700

    #9619A4

    oklch(49.1% 0.215 323.3)

  9. Step 800

    800

    #7A1A85

    oklch(42.7% 0.178 323.3)

  10. Step 900

    900

    #631E6B

    oklch(37.8% 0.14 323.4)

  11. Step 950

    950

    #3A143E

    oklch(27% 0.087 323.8)

Export this scale for Tailwind in the Tailwind colors tool

#D87FE2 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)#739AE50.155
Deuteranopia (no green cones)#8CA4DF0.139
Tritanopia (no blue cones)#DB8AA60.100
Achromatopsia (no color)#A0A0A00.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87FE2

    #D87FE2

    oklch(72.7% 0.167 323.4)

  • #5EC15C

    #5EC15C

    oklch(72.8% 0.168 143.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87FE2

    #D87FE2

    oklch(72.7% 0.167 323.4)

  • #AC91FF

    #AC91FF

    oklch(72.6% 0.157 293.4)

  • #F475AF

    #F475AF

    oklch(72.7% 0.167 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #D87FE2

    #D87FE2

    oklch(72.7% 0.167 323.4)

  • #A8B000

    #A8B000

    oklch(72.6% 0.162 113)

  • #00C29F

    #00C29F

    oklch(72.6% 0.139 173.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87FE2

    #D87FE2

    oklch(72.7% 0.167 323.4)

  • #D39C00

    #D39C00

    oklch(72.6% 0.149 83.2)

  • #00BDC9

    #00BDC9

    oklch(72.7% 0.124 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87FE2

    #D87FE2

    oklch(72.7% 0.167 323.4)

  • #F5842C

    #F5842C

    oklch(72.6% 0.167 53.2)

  • #5EC15C

    #5EC15C

    oklch(72.8% 0.168 143.3)

  • #00B5F6

    #00B5F6

    oklch(72.8% 0.151 233.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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