#D871DA

Closest named color: Orchid (#DA70D6). oklch(70.3% 0.182 326.6), rgb(216, 113, 218).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.182)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.29:1
White text2.87:1

Values

HEX#D871DA
RGBrgb(216, 113, 218)
HSLhsl(299, 59%, 65%)
OKLCHoklch(70.3% 0.182 326.6)

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 #D871DA 2.87:1 Fails Lc -59.9 Large or bold text, headings
Black text on #D871DA 7.29:1 AAA Lc 49.4 Large or bold text, headings
#D871DA text on white 2.87:1 Fails Lc 54.6 Large or bold text, headings
#D871DA text on black 7.29:1 AAA Lc -47.2 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBF0

    oklch(88.5% 0.064 326.1)

  4. Step 300

    300

    #E8A7E7

    oklch(81% 0.113 327.1)

  5. Step 400

    400 (this color)

    #D871DA

    oklch(70.3% 0.182 326.6)

  6. Step 500

    500

    #CD44D1

    oklch(63.1% 0.232 326.7)

  7. Step 600

    600

    #B80DBE

    oklch(55.6% 0.252 326.6)

  8. Step 700

    700

    #9D00A2

    oklch(49.2% 0.228 326.7)

  9. Step 800

    800

    #810585

    oklch(42.8% 0.195 326.7)

  10. Step 900

    900

    #68166B

    oklch(37.8% 0.152 326.5)

  11. Step 950

    950

    #3D103E

    oklch(27% 0.095 326.9)

Export this scale for Tailwind in the Tailwind colors tool

#D871DA 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)#6790DE0.176
Deuteranopia (no green cones)#859DD70.157
Tritanopia (no blue cones)#DD7D9C0.104
Achromatopsia (no color)#9898980.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #D871DA

    #D871DA

    oklch(70.3% 0.182 326.6)

  • #3CBC55

    #3CBC55

    oklch(70.3% 0.182 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D871DA

    #D871DA

    oklch(70.3% 0.182 326.6)

  • #AC83FF

    #AC83FF

    oklch(70.3% 0.178 296.8)

  • #F367A2

    #F367A2

    oklch(70.3% 0.181 356.5)

Open the analogous palette in the generator

Split complementary

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

  • #D871DA

    #D871DA

    oklch(70.3% 0.182 326.6)

  • #9AAB00

    #9AAB00

    oklch(70.3% 0.162 116.7)

  • #00B99D

    #00B99D

    oklch(70.2% 0.131 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D871DA

    #D871DA

    oklch(70.3% 0.182 326.6)

  • #C69800

    #C69800

    oklch(70.3% 0.144 86.9)

  • #00B4C5

    #00B4C5

    oklch(70.3% 0.121 206.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D871DA

    #D871DA

    oklch(70.3% 0.182 326.6)

  • #EC7E00

    #EC7E00

    oklch(70.3% 0.171 56.7)

  • #3CBC55

    #3CBC55

    oklch(70.3% 0.182 146.7)

  • #00ABF1

    #00ABF1

    oklch(70.2% 0.153 236.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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