#D8A7DF

Closest named color: Plum (#DDA0DD). oklch(79.1% 0.094 322.2), rgb(216, 167, 223).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.51:1
White text1.99:1

Values

HEX#D8A7DF
RGBrgb(216, 167, 223)
HSLhsl(293, 47%, 76%)
OKLCHoklch(79.1% 0.094 322.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 #D8A7DF 1.99:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #D8A7DF 10.51:1 AAA Lc 65.3 Content text, not long reading
#D8A7DF text on white 1.99:1 Fails Lc 38.6 Non-text elements, placeholder text
#D8A7DF text on black 10.51:1 AAA Lc -63.8 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACEEE

    oklch(88.4% 0.053 322)

  4. Step 300

    300 (this color)

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  5. Step 400

    400

    #CC7ED8

    oklch(70.7% 0.151 322.1)

  6. Step 500

    500

    #BD59CD

    oklch(63.1% 0.192 321.9)

  7. Step 600

    600

    #A939B9

    oklch(55.7% 0.209 322.4)

  8. Step 700

    700

    #9029A0

    oklch(49% 0.195 321.9)

  9. Step 800

    800

    #752581

    oklch(42.7% 0.16 322.2)

  10. Step 900

    900

    #5F2468

    oklch(37.7% 0.126 322.2)

  11. Step 950

    950

    #38163D

    oklch(27% 0.081 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#D8A7DF 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)#A2B4E10.080
Deuteranopia (no green cones)#ADB9DD0.074
Tritanopia (no blue cones)#DAACBB0.057
Achromatopsia (no color)#B7B7B70.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A7DF

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  • #98CB93

    #98CB93

    oklch(79.2% 0.094 142.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A7DF

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  • #BCB0F3

    #BCB0F3

    oklch(79.1% 0.095 292.3)

  • #EBA2C1

    #EBA2C1

    oklch(79.2% 0.095 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8A7DF

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  • #BCC17A

    #BCC17A

    oklch(79% 0.093 111.8)

  • #77CFB4

    #77CFB4

    oklch(79.1% 0.094 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A7DF

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  • #D9B573

    #D9B573

    oklch(79% 0.094 81.8)

  • #69CDD5

    #69CDD5

    oklch(79.1% 0.094 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A7DF

    #D8A7DF

    oklch(79.1% 0.094 322.2)

  • #ECAA82

    #ECAA82

    oklch(79.1% 0.095 52.1)

  • #98CB93

    #98CB93

    oklch(79.2% 0.094 142.4)

  • #7AC6ED

    #7AC6ED

    oklch(79.2% 0.094 232)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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