#D8D8EC

Closest named color: Gainsboro (#DCDCDC). oklch(88.8% 0.027 285.8), rgb(216, 216, 236).

Aa

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

About this color

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

Hue familyNeutrals
Lightnesslight (89%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text14.95:1
White text1.40:1

Values

HEX#D8D8EC
RGBrgb(216, 216, 236)
HSLhsl(240, 34%, 89%)
OKLCHoklch(88.8% 0.027 285.8)

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 #D8D8EC 1.40:1 Fails Lc -22.3 Dividers and decoration only
Black text on #D8D8EC 14.95:1 AAA Lc 84.1 Fine for body text
#D8D8EC text on white 1.40:1 Fails Lc 19.6 Dividers and decoration only
#D8D8EC text on black 14.95:1 AAA Lc -83.9 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

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200 (this color)

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  4. Step 300

    300

    #BEBED7

    oklch(80.9% 0.035 285.6)

  5. Step 400

    400

    #9D9CC3

    oklch(70.7% 0.057 286)

  6. Step 500

    500

    #8583B3

    oklch(63% 0.072 286.1)

  7. Step 600

    600

    #6F6D9F

    oklch(55.7% 0.077 285.4)

  8. Step 700

    700

    #5D5B88

    oklch(49.2% 0.071 285.5)

  9. Step 800

    800

    #4C4A6F

    oklch(42.7% 0.061 286)

  10. Step 900

    900

    #3F3E5A

    oklch(37.7% 0.048 285.5)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8D8EC 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)#D4DAED0.007
Deuteranopia (no green cones)#D3D9EB0.007
Tritanopia (no blue cones)#D4DBDE0.024
Achromatopsia (no color)#DADADA0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8D8EC

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  • #DCDCC7

    #DCDCC7

    oklch(88.9% 0.028 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8D8EC

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  • #CFDBED

    #CFDBED

    oklch(88.8% 0.028 258.4)

  • #E1D5E7

    #E1D5E7

    oklch(88.8% 0.028 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8D8EC

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  • #E5D8C7

    #E5D8C7

    oklch(88.8% 0.027 74.7)

  • #D2DFCD

    #D2DFCD

    oklch(88.9% 0.028 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8D8EC

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  • #EBD5CB

    #EBD5CB

    oklch(88.8% 0.028 46.1)

  • #CAE0D6

    #CAE0D6

    oklch(88.8% 0.027 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8D8EC

    #D8D8EC

    oklch(88.8% 0.027 285.8)

  • #ECD3D4

    #ECD3D4

    oklch(88.8% 0.028 14.9)

  • #DCDCC7

    #DCDCC7

    oklch(88.9% 0.028 107)

  • #C6E0E0

    #C6E0E0

    oklch(88.8% 0.028 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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