#D9D7E7

Closest named color: Gainsboro (#DCDCDC). oklch(88.6% 0.022 291.7), rgb(217, 215, 231).

Aa

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

About this color

#D9D7E7 is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.024 away. Black text reads best on it, at 14.82:1.

Hue familyNeutrals
Lightnesslight (89%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text14.82:1
White text1.41:1

Values

HEX#D9D7E7
RGBrgb(217, 215, 231)
HSLhsl(248, 25%, 87%)
OKLCHoklch(88.6% 0.022 291.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 #D9D7E7 1.41:1 Fails Lc -22.9 Dividers and decoration only
Black text on #D9D7E7 14.82:1 AAA Lc 83.6 Fine for body text
#D9D7E7 text on white 1.41:1 Fails Lc 20.1 Dividers and decoration only
#D9D7E7 text on black 14.82:1 AAA Lc -83.3 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200 (this color)

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  4. Step 300

    300

    #C0BED2

    oklch(80.9% 0.028 290.4)

  5. Step 400

    400

    #A09CBB

    oklch(70.7% 0.045 291.1)

  6. Step 500

    500

    #8984AA

    oklch(63.1% 0.057 290.7)

  7. Step 600

    600

    #746D95

    oklch(55.6% 0.062 292.3)

  8. Step 700

    700

    #615B7F

    oklch(49.1% 0.057 291.8)

  9. Step 800

    800

    #4F4A68

    oklch(42.6% 0.049 291.8)

  10. Step 900

    900

    #423E54

    oklch(37.7% 0.037 292.8)

  11. Step 950

    950

    #262431

    oklch(26.8% 0.024 291.7)

Export this scale for Tailwind in the Tailwind colors tool

#D9D7E7 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)#D4D9E80.008
Deuteranopia (no green cones)#D4D8E70.007
Tritanopia (no blue cones)#D7D9DC0.018
Achromatopsia (no color)#D9D9D90.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9D7E7

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  • #D9DBCB

    #D9DBCB

    oklch(88.5% 0.022 112.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9D7E7

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  • #D1DAE8

    #D1DAE8

    oklch(88.6% 0.022 259.2)

  • #E0D5E2

    #E0D5E2

    oklch(88.6% 0.021 321)

Open the analogous palette in the generator

Split complementary

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

  • #D9D7E7

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  • #E1D8CA

    #E1D8CA

    oklch(88.6% 0.021 79.1)

  • #D2DDD0

    #D2DDD0

    oklch(88.6% 0.021 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9D7E7

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  • #E6D6CC

    #E6D6CC

    oklch(88.6% 0.022 54.3)

  • #CCDED7

    #CCDED7

    oklch(88.5% 0.021 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9D7E7

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  • #E8D4D3

    #E8D4D3

    oklch(88.6% 0.022 21)

  • #D9DBCB

    #D9DBCB

    oklch(88.5% 0.022 112.6)

  • #CADEDF

    #CADEDF

    oklch(88.6% 0.021 200.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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