#D8A7D9

Closest named color: Plum (#DDA0DD). oklch(78.9% 0.088 325.7), rgb(216, 167, 217).

Aa

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

About this color

#D8A7D9 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.088 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.021 away. Black text reads best on it, at 10.44:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.44:1
White text2.00:1

Values

HEX#D8A7D9
RGBrgb(216, 167, 217)
HSLhsl(299, 40%, 75%)
OKLCHoklch(78.9% 0.088 325.7)

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 #D8A7D9 2.00:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #D8A7D9 10.44:1 AAA Lc 65.0 Content text, not long reading
#D8A7D9 text on white 2.00:1 Fails Lc 38.9 Non-text elements, placeholder text
#D8A7D9 text on black 10.44:1 AAA Lc -63.4 Content text, not long reading

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 300.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEB

    oklch(88.6% 0.048 326)

  4. Step 300

    300 (this color)

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  5. Step 400

    400

    #CD80D0

    oklch(70.8% 0.141 325.6)

  6. Step 500

    500

    #BE5CC3

    oklch(63.1% 0.179 325.6)

  7. Step 600

    600

    #A93DAF

    oklch(55.5% 0.195 325.6)

  8. Step 700

    700

    #912E97

    oklch(49.1% 0.182 325.5)

  9. Step 800

    800

    #76287A

    oklch(42.7% 0.15 325.8)

  10. Step 900

    900

    #602662

    oklch(37.7% 0.117 326.3)

  11. Step 950

    950

    #38173A

    oklch(26.9% 0.075 325.2)

Export this scale for Tailwind in the Tailwind colors tool

#D8A7D9 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)#A4B3DB0.077
Deuteranopia (no green cones)#AFB9D70.072
Tritanopia (no blue cones)#DBABB80.052
Achromatopsia (no color)#B7B7B70.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A7D9

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  • #96CA98

    #96CA98

    oklch(78.9% 0.089 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A7D9

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  • #BFAFED

    #BFAFED

    oklch(78.9% 0.088 296.2)

  • #E8A3BC

    #E8A3BC

    oklch(78.9% 0.087 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #D8A7D9

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  • #B7C280

    #B7C280

    oklch(79% 0.088 116.2)

  • #7ACDB8

    #7ACDB8

    oklch(78.9% 0.087 175.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A7D9

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  • #D4B778

    #D4B778

    oklch(79% 0.088 85.7)

  • #70CBD6

    #70CBD6

    oklch(79% 0.088 205.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A7D9

    #D8A7D9

    oklch(78.9% 0.088 325.7)

  • #E6AC83

    #E6AC83

    oklch(78.9% 0.088 56.3)

  • #96CA98

    #96CA98

    oklch(78.9% 0.089 145.6)

  • #81C4EB

    #81C4EB

    oklch(79% 0.088 235)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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