#D7D8EE

Closest named color: Gainsboro (#DCDCDC). oklch(88.8% 0.03 283.7), rgb(215, 216, 238).

Aa

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

About this color

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

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

Values

HEX#D7D8EE
RGBrgb(215, 216, 238)
HSLhsl(237, 40%, 89%)
OKLCHoklch(88.8% 0.03 283.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 #D7D8EE 1.40:1 Fails Lc -22.4 Dividers and decoration only
Black text on #D7D8EE 14.94:1 AAA Lc 84.1 Fine for body text
#D7D8EE text on white 1.40:1 Fails Lc 19.6 Dividers and decoration only
#D7D8EE text on black 14.94:1 AAA Lc -83.8 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

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200 (this color)

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  4. Step 300

    300

    #BDBED9

    oklch(80.9% 0.038 283.8)

  5. Step 400

    400

    #9B9CC7

    oklch(70.7% 0.063 283.6)

  6. Step 500

    500

    #8383B8

    oklch(63% 0.079 283.9)

  7. Step 600

    600

    #6D6CA4

    oklch(55.6% 0.086 284)

  8. Step 700

    700

    #5B5A8D

    oklch(49.1% 0.081 283.9)

  9. Step 800

    800

    #4A4A72

    oklch(42.7% 0.066 283.3)

  10. Step 900

    900

    #3E3E5C

    oklch(37.7% 0.051 283.7)

  11. Step 950

    950

    #242436

    oklch(26.9% 0.033 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#D7D8EE 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)#D3DAEF0.007
Deuteranopia (no green cones)#D2D9ED0.007
Tritanopia (no blue cones)#D2DCDF0.028
Achromatopsia (no color)#D9D9D90.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7D8EE

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  • #DDDBC5

    #DDDBC5

    oklch(88.7% 0.03 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7D8EE

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  • #CDDCEE

    #CDDCEE

    oklch(88.9% 0.03 253)

  • #E1D5E9

    #E1D5E9

    oklch(88.9% 0.03 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #D7D8EE

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  • #E7D8C5

    #E7D8C5

    oklch(88.9% 0.03 73.9)

  • #D2DFCB

    #D2DFCB

    oklch(88.8% 0.03 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7D8EE

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  • #ECD4CB

    #ECD4CB

    oklch(88.7% 0.03 41.7)

  • #C9E1D5

    #C9E1D5

    oklch(88.9% 0.03 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7D8EE

    #D7D8EE

    oklch(88.8% 0.03 283.7)

  • #EDD3D4

    #EDD3D4

    oklch(88.9% 0.029 15.1)

  • #DDDBC5

    #DDDBC5

    oklch(88.7% 0.03 102.7)

  • #C4E1E0

    #C4E1E0

    oklch(88.8% 0.031 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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