#D1AFDD

Closest named color: Plum (#DDA0DD). oklch(79.9% 0.074 317.2), rgb(209, 175, 221).

Aa

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

About this color

#D1AFDD is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.074 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.040 away. Black text reads best on it, at 10.88:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.88:1
White text1.92:1

Values

HEX#D1AFDD
RGBrgb(209, 175, 221)
HSLhsl(284, 40%, 78%)
OKLCHoklch(79.9% 0.074 317.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 #D1AFDD 1.92:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #D1AFDD 10.88:1 AAA Lc 67.0 Content text, not long reading
#D1AFDD text on white 1.92:1 Fails Lc 36.9 Non-text elements, placeholder text
#D1AFDD text on black 10.88:1 AAA Lc -65.5 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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300 (this color)

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  5. Step 400

    400

    #BE89D1

    oklch(70.7% 0.117 316.9)

  6. Step 500

    500

    #AE69C5

    oklch(63.2% 0.151 317.2)

  7. Step 600

    600

    #994EB1

    oklch(55.6% 0.164 317.3)

  8. Step 700

    700

    #823E98

    oklch(49% 0.152 317.2)

  9. Step 800

    800

    #6A347B

    oklch(42.6% 0.126 317.5)

  10. Step 900

    900

    #562E63

    oklch(37.6% 0.098 317.4)

  11. Step 950

    950

    #331C3A

    oklch(27.1% 0.062 318)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFDD 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)#AAB8DF0.057
Deuteranopia (no green cones)#B1BCDB0.054
Tritanopia (no blue cones)#D1B4BF0.049
Achromatopsia (no color)#BBBBBB0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFDD

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  • #A7C99A

    #A7C99A

    oklch(79.9% 0.074 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFDD

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  • #BAB7EB

    #BAB7EB

    oklch(80% 0.073 287.3)

  • #E2ABC6

    #E2ABC6

    oklch(80% 0.073 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFDD

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  • #C2C18A

    #C2C18A

    oklch(79.8% 0.073 107.1)

  • #8FCDB4

    #8FCDB4

    oklch(79.9% 0.073 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFDD

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  • #D8B888

    #D8B888

    oklch(79.9% 0.073 77.5)

  • #82CCCE

    #82CCCE

    oklch(79.8% 0.074 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFDD

    #D1AFDD

    oklch(79.9% 0.074 317.2)

  • #E6AF95

    #E6AF95

    oklch(79.8% 0.074 46.5)

  • #A7C99A

    #A7C99A

    oklch(79.9% 0.074 137.1)

  • #8AC7E2

    #8AC7E2

    oklch(79.8% 0.073 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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