#D87AF0

Closest named color: Orchid (#DA70D6). oklch(72.6% 0.189 319.2), rgb(216, 122, 240).

Aa

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

About this color

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

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

Values

HEX#D87AF0
RGBrgb(216, 122, 240)
HSLhsl(288, 80%, 71%)
OKLCHoklch(72.6% 0.189 319.2)

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 #D87AF0 2.63:1 Fails Lc -56.2 Large or bold text, headings
Black text on #D87AF0 7.96:1 AAA Lc 53.0 Large or bold text, headings
#D87AF0 text on white 2.63:1 Fails Lc 51.0 Large or bold text, headings
#D87AF0 text on black 7.96:1 AAA Lc -50.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

    #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)

    #D87AF0

    oklch(72.6% 0.189 319.2)

  6. Step 500

    500

    #C445E3

    oklch(63.1% 0.242 319)

  7. Step 600

    600

    #B00ED0

    oklch(55.6% 0.262 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0692

    oklch(42.8% 0.202 319.4)

  10. Step 900

    900

    #631774

    oklch(37.7% 0.157 319.4)

  11. Step 950

    950

    #3A1044

    oklch(26.9% 0.1 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#D87AF0 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)#6599F40.172
Deuteranopia (no green cones)#81A3ED0.154
Tritanopia (no blue cones)#D98AAA0.119
Achromatopsia (no color)#9F9F9F0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #D87AF0

    #D87AF0

    oklch(72.6% 0.189 319.2)

  • #60C142

    #60C142

    oklch(72.6% 0.188 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D87AF0

    #D87AF0

    oklch(72.6% 0.189 319.2)

  • #A594FF

    #A594FF

    oklch(72.6% 0.152 289.3)

  • #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°).

  • #D87AF0

    #D87AF0

    oklch(72.6% 0.189 319.2)

  • #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.

  • #D87AF0

    #D87AF0

    oklch(72.6% 0.189 319.2)

  • #D89900

    #D89900

    oklch(72.5% 0.151 79.1)

  • #00BDC4

    #00BDC4

    oklch(72.5% 0.123 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D87AF0

    #D87AF0

    oklch(72.6% 0.189 319.2)

  • #FF7C1D

    #FF7C1D

    oklch(72.7% 0.185 49.4)

  • #60C142

    #60C142

    oklch(72.6% 0.188 139.2)

  • #00B6EE

    #00B6EE

    oklch(72.6% 0.144 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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