#DFD8EC

Closest named color: Gainsboro (#DCDCDC). oklch(89.4% 0.028 301.7), rgb(223, 216, 236).

Aa

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

About this color

#DFD8EC is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.028. 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 15.17:1.

Hue familyNeutrals
Lightnesslight (89%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.17:1
White text1.38:1

Values

HEX#DFD8EC
RGBrgb(223, 216, 236)
HSLhsl(261, 34%, 89%)
OKLCHoklch(89.4% 0.028 301.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 #DFD8EC 1.38:1 Fails Lc -21.4 Dividers and decoration only
Black text on #DFD8EC 15.17:1 AAA Lc 85.0 Fine for body text
#DFD8EC text on white 1.38:1 Fails Lc 18.7 Dividers and decoration only
#DFD8EC text on black 15.17:1 AAA Lc -84.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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200 (this color)

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  4. Step 300

    300

    #C4BCD5

    oklch(81% 0.036 300.2)

  5. Step 400

    400

    #A799BF

    oklch(70.8% 0.057 301.8)

  6. Step 500

    500

    #917FAF

    oklch(63% 0.074 301.5)

  7. Step 600

    600

    #7C689B

    oklch(55.6% 0.081 301.9)

  8. Step 700

    700

    #685684

    oklch(49% 0.075 301.7)

  9. Step 800

    800

    #55476B

    oklch(42.7% 0.061 301.7)

  10. Step 900

    900

    #463C57

    oklch(37.8% 0.047 301.2)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#DFD8EC 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)#D5DBED0.014
Deuteranopia (no green cones)#D6DBEB0.014
Tritanopia (no blue cones)#DDDBDE0.024
Achromatopsia (no color)#DBDBDB0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD8EC

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  • #D9DFCB

    #D9DFCB

    oklch(89.4% 0.028 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD8EC

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  • #D5DBEF

    #D5DBEF

    oklch(89.3% 0.028 272.5)

  • #E8D6E4

    #E8D6E4

    oklch(89.5% 0.027 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #DFD8EC

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  • #E3DCC8

    #E3DCC8

    oklch(89.5% 0.028 90.9)

  • #CFE2D3

    #CFE2D3

    oklch(89.4% 0.029 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD8EC

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  • #EAD8CA

    #EAD8CA

    oklch(89.3% 0.028 60.3)

  • #C9E2DD

    #C9E2DD

    oklch(89.3% 0.027 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD8EC

    #DFD8EC

    oklch(89.4% 0.028 301.7)

  • #EED6D1

    #EED6D1

    oklch(89.4% 0.028 31.7)

  • #D9DFCB

    #D9DFCB

    oklch(89.4% 0.028 120.6)

  • #C8E1E7

    #C8E1E7

    oklch(89.3% 0.028 213.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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