#D9D7EC

Closest named color: Gainsboro (#DCDCDC). oklch(88.7% 0.029 290.2), rgb(217, 215, 236).

Aa

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

About this color

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

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

Values

HEX#D9D7EC
RGBrgb(217, 215, 236)
HSLhsl(246, 36%, 88%)
OKLCHoklch(88.7% 0.029 290.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 #D9D7EC 1.41:1 Fails Lc -22.6 Dividers and decoration only
Black text on #D9D7EC 14.88:1 AAA Lc 83.8 Fine for body text
#D9D7EC text on white 1.41:1 Fails Lc 19.9 Dividers and decoration only
#D9D7EC text on black 14.88:1 AAA Lc -83.6 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)

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  4. Step 300

    300

    #C0BDD7

    oklch(80.9% 0.036 290.9)

  5. Step 400

    400

    #A09BC3

    oklch(70.8% 0.058 290.6)

  6. Step 500

    500

    #8982B4

    oklch(63.2% 0.075 290.5)

  7. Step 600

    600

    #736BA0

    oklch(55.7% 0.081 290.4)

  8. Step 700

    700

    #605989

    oklch(49.1% 0.076 290)

  9. Step 800

    800

    #4E496F

    oklch(42.7% 0.062 289.5)

  10. Step 900

    900

    #413D5A

    oklch(37.7% 0.049 290.1)

  11. Step 950

    950

    #262435

    oklch(27% 0.031 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#D9D7EC 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)#D3D9ED0.009
Deuteranopia (no green cones)#D3D9EB0.010
Tritanopia (no blue cones)#D6DADE0.024
Achromatopsia (no color)#D9D9D90.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9D7EC

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  • #DADCC6

    #DADCC6

    oklch(88.7% 0.03 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9D7EC

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  • #CFDBED

    #CFDBED

    oklch(88.8% 0.028 258.4)

  • #E3D4E6

    #E3D4E6

    oklch(88.7% 0.029 320.6)

Open the analogous palette in the generator

Split complementary

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

  • #D9D7EC

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  • #E4D8C5

    #E4D8C5

    oklch(88.7% 0.029 79.5)

  • #D0DFCD

    #D0DFCD

    oklch(88.7% 0.029 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9D7EC

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  • #EAD5C9

    #EAD5C9

    oklch(88.7% 0.029 51.8)

  • #C8E0D7

    #C8E0D7

    oklch(88.6% 0.028 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9D7EC

    #D9D7EC

    oklch(88.7% 0.029 290.2)

  • #ECD3D2

    #ECD3D2

    oklch(88.7% 0.028 20.4)

  • #DADCC6

    #DADCC6

    oklch(88.7% 0.03 111.2)

  • #C5E0E1

    #C5E0E1

    oklch(88.7% 0.029 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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