#D87AF1

Closest named color: Orchid (#DA70D6). oklch(72.7% 0.19 318.9), rgb(216, 122, 241).

Aa

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

About this color

#D87AF1 is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.190 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.041 away. Black text reads best on it, at 7.97:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.190)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.97:1
White text2.63:1

Values

HEX#D87AF1
RGBrgb(216, 122, 241)
HSLhsl(287, 81%, 71%)
OKLCHoklch(72.7% 0.19 318.9)

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 #D87AF1 2.63:1 Fails Lc -56.1 Large or bold text, headings
Black text on #D87AF1 7.97:1 AAA Lc 53.1 Large or bold text, headings
#D87AF1 text on white 2.63:1 Fails Lc 50.9 Large or bold text, headings
#D87AF1 text on black 7.97:1 AAA Lc -51.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

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #ECCCF5

    oklch(88.5% 0.065 318.8)

  4. Step 300

    300

    #E2A8F1

    oklch(81% 0.118 319.2)

  5. Step 400

    400 (this color)

    #D87AF1

    oklch(72.7% 0.19 318.9)

  6. Step 500

    500

    #C445E4

    oklch(63.1% 0.243 318.8)

  7. Step 600

    600

    #B00CD1

    oklch(55.6% 0.263 319.1)

  8. Step 700

    700

    #9500B3

    oklch(49.1% 0.237 318.7)

  9. Step 800

    800

    #7A0593

    oklch(42.7% 0.203 318.6)

  10. Step 900

    900

    #631675

    oklch(37.7% 0.159 319)

  11. Step 950

    950

    #3A1045

    oklch(27% 0.101 318.5)

Export this scale for Tailwind in the Tailwind colors tool

#D87AF1 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)#6599F50.171
Deuteranopia (no green cones)#81A3EE0.153
Tritanopia (no blue cones)#D88BAB0.121
Achromatopsia (no color)#9F9F9F0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87AF1

    #D87AF1

    oklch(72.7% 0.19 318.9)

  • #60C140

    #60C140

    oklch(72.6% 0.189 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87AF1

    #D87AF1

    oklch(72.7% 0.19 318.9)

  • #A495FF

    #A495FF

    oklch(72.7% 0.151 288.6)

  • #F96DB9

    #F96DB9

    oklch(72.7% 0.189 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #D87AF1

    #D87AF1

    oklch(72.7% 0.19 318.9)

  • #AFAD00

    #AFAD00

    oklch(72.5% 0.157 108.9)

  • #00C397

    #00C397

    oklch(72.6% 0.145 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D87AF1

    #D87AF1

    oklch(72.7% 0.19 318.9)

  • #D99900

    #D99900

    oklch(72.6% 0.151 78.7)

  • #00BEC4

    #00BEC4

    oklch(72.8% 0.124 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87AF1

    #D87AF1

    oklch(72.7% 0.19 318.9)

  • #FF7C21

    #FF7C21

    oklch(72.7% 0.184 48.9)

  • #60C140

    #60C140

    oklch(72.6% 0.189 138.9)

  • #00B6ED

    #00B6ED

    oklch(72.6% 0.143 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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