#D8D8EF

Closest named color: Gainsboro (#DCDCDC). oklch(88.9% 0.031 285.7), rgb(216, 216, 239).

Aa

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

About this color

#D8D8EF is a light, muted purple. In OKLCH its lightness is 89%, its chroma 0.031 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.032 away. Black text reads best on it, at 14.98:1.

Hue familyPurples
Lightnesslight (89%)
Chromamuted (0.031)
Temperaturecool
Nearest nameGainsboro (#DCDCDC)
Black text14.98:1
White text1.40:1

Values

HEX#D8D8EF
RGBrgb(216, 216, 239)
HSLhsl(240, 42%, 89%)
OKLCHoklch(88.9% 0.031 285.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 #D8D8EF 1.40:1 Fails Lc -22.2 Dividers and decoration only
Black text on #D8D8EF 14.98:1 AAA Lc 84.3 Fine for body text
#D8D8EF text on white 1.40:1 Fails Lc 19.4 Dividers and decoration only
#D8D8EF text on black 14.98:1 AAA Lc -84.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200 (this color)

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  4. Step 300

    300

    #BEBDDA

    oklch(80.8% 0.041 287)

  5. Step 400

    400

    #9C9BC8

    oklch(70.6% 0.065 285.6)

  6. Step 500

    500

    #8582BA

    oklch(63.1% 0.084 286.2)

  7. Step 600

    600

    #6F6BA6

    oklch(55.6% 0.091 286.2)

  8. Step 700

    700

    #5D598E

    oklch(49.1% 0.084 286.3)

  9. Step 800

    800

    #4C4973

    oklch(42.7% 0.069 286.4)

  10. Step 900

    900

    #3F3D5D

    oklch(37.6% 0.054 286.3)

  11. Step 950

    950

    #252436

    oklch(27% 0.033 286.5)

Export this scale for Tailwind in the Tailwind colors tool

#D8D8EF 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)#D3DAF00.008
Deuteranopia (no green cones)#D2D9EE0.008
Tritanopia (no blue cones)#D4DCDF0.028
Achromatopsia (no color)#DADADA0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8D8EF

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  • #DDDCC5

    #DDDCC5

    oklch(88.9% 0.031 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8D8EF

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  • #CDDCF0

    #CDDCF0

    oklch(88.9% 0.032 255.6)

  • #E3D5E9

    #E3D5E9

    oklch(89% 0.031 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8D8EF

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  • #E7D8C4

    #E7D8C4

    oklch(88.9% 0.032 75.2)

  • #D2E0CB

    #D2E0CB

    oklch(89% 0.032 135)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8D8EF

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  • #EDD5CA

    #EDD5CA

    oklch(89% 0.031 46.2)

  • #C8E2D6

    #C8E2D6

    oklch(89% 0.032 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8D8EF

    #D8D8EF

    oklch(88.9% 0.031 285.7)

  • #EFD3D3

    #EFD3D3

    oklch(89% 0.031 17.8)

  • #DDDCC5

    #DDDCC5

    oklch(88.9% 0.031 105)

  • #C4E1E1

    #C4E1E1

    oklch(88.9% 0.031 196.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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