#D8D1EF

Closest named color: Pale Lilac (#E4CBFF). oklch(87.6% 0.042 296.2), rgb(216, 209, 239).

Aa

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

About this color

#D8D1EF is a light, muted purple. In OKLCH its lightness is 88%, its chroma 0.042 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Lilac (#E4CBFF), ΔE 0.035 away. Black text reads best on it, at 14.28:1.

Hue familyPurples
Lightnesslight (88%)
Chromamuted (0.042)
Temperaturein between
Nearest namePale Lilac (#E4CBFF)
Black text14.28:1
White text1.46:1

Values

HEX#D8D1EF
RGBrgb(216, 209, 239)
HSLhsl(254, 48%, 88%)
OKLCHoklch(87.6% 0.042 296.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 #D8D1EF 1.46:1 Fails Lc -25.3 Dividers and decoration only
Black text on #D8D1EF 14.28:1 AAA Lc 81.5 Fine for body text
#D8D1EF text on white 1.46:1 Fails Lc 22.3 Dividers and decoration only
#D8D1EF text on black 14.28:1 AAA Lc -81.0 Fine for body text

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

  1. Step 50

    50

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200 (this color)

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  4. Step 300

    300

    #C3BAE0

    oklch(80.9% 0.054 296)

  5. Step 400

    400

    #A596D0

    oklch(70.7% 0.085 296)

  6. Step 500

    500

    #907BC4

    oklch(63.2% 0.109 296.4)

  7. Step 600

    600

    #7A63B0

    oklch(55.6% 0.118 296.1)

  8. Step 700

    700

    #675298

    oklch(49.2% 0.11 295.9)

  9. Step 800

    800

    #54437B

    oklch(42.7% 0.092 296.3)

  10. Step 900

    900

    #453963

    oklch(37.7% 0.071 295.9)

  11. Step 950

    950

    #28223A

    oklch(27.1% 0.044 294.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8D1EF 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)#CBD5F00.019
Deuteranopia (no green cones)#CCD5EE0.019
Tritanopia (no blue cones)#D4D5DB0.034
Achromatopsia (no color)#D5D5D50.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8D1EF

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  • #D4DABB

    #D4DABB

    oklch(87.6% 0.042 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8D1EF

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  • #C9D6F2

    #C9D6F2

    oklch(87.5% 0.041 265.7)

  • #E5CDE5

    #E5CDE5

    oklch(87.5% 0.042 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8D1EF

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  • #E2D5B8

    #E2D5B8

    oklch(87.6% 0.041 86.7)

  • #C5DEC6

    #C5DEC6

    oklch(87.6% 0.042 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8D1EF

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  • #ECD0BC

    #ECD0BC

    oklch(87.6% 0.041 57.7)

  • #BAE0D5

    #BAE0D5

    oklch(87.6% 0.043 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8D1EF

    #D8D1EF

    oklch(87.6% 0.042 296.2)

  • #F1CCC8

    #F1CCC8

    oklch(87.6% 0.042 25.3)

  • #D4DABB

    #D4DABB

    oklch(87.6% 0.042 116.2)

  • #B7DEE4

    #B7DEE4

    oklch(87.5% 0.042 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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