#D8DAF3

Closest named color: Gainsboro (#DCDCDC). oklch(89.4% 0.034 282), rgb(216, 218, 243).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (89%)
Chromamuted (0.034)
Temperaturecool
Nearest nameGainsboro (#DCDCDC)
Black text15.24:1
White text1.37:1

Values

HEX#D8DAF3
RGBrgb(216, 218, 243)
HSLhsl(236, 53%, 90%)
OKLCHoklch(89.4% 0.034 282)

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 #D8DAF3 1.37:1 Fails Lc -21.1 Dividers and decoration only
Black text on #D8DAF3 15.24:1 AAA Lc 85.3 Fine for body text
#D8DAF3 text on white 1.37:1 Fails Lc 18.4 Dividers and decoration only
#D8DAF3 text on black 15.24:1 AAA Lc -85.1 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

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200 (this color)

    #D8DAF3

    oklch(89.4% 0.034 282)

  4. Step 300

    300

    #BBBEDD

    oklch(80.9% 0.044 281)

  5. Step 400

    400

    #999CCC

    oklch(70.8% 0.07 281.7)

  6. Step 500

    500

    #8183BF

    oklch(63.2% 0.09 282)

  7. Step 600

    600

    #6A6BAB

    oklch(55.5% 0.099 282)

  8. Step 700

    700

    #595993

    oklch(49% 0.092 282.5)

  9. Step 800

    800

    #494977

    oklch(42.7% 0.076 282.7)

  10. Step 900

    900

    #3D3E60

    oklch(37.9% 0.058 282)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#D8DAF3 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)#D4DCF40.007
Deuteranopia (no green cones)#D3DBF20.007
Tritanopia (no blue cones)#D3DEE20.030
Achromatopsia (no color)#DCDCDC0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8DAF3

    #D8DAF3

    oklch(89.4% 0.034 282)

  • #E0DEC4

    #E0DEC4

    oklch(89.5% 0.035 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8DAF3

    #D8DAF3

    oklch(89.4% 0.034 282)

  • #CCDEF3

    #CCDEF3

    oklch(89.4% 0.035 252.3)

  • #E4D6ED

    #E4D6ED

    oklch(89.4% 0.034 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #D8DAF3

    #D8DAF3

    oklch(89.4% 0.034 282)

  • #EBD9C4

    #EBD9C4

    oklch(89.4% 0.034 71.6)

  • #D4E1CA

    #D4E1CA

    oklch(89.4% 0.034 131.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8DAF3

    #D8DAF3

    oklch(89.4% 0.034 282)

  • #F1D5CB

    #F1D5CB

    oklch(89.4% 0.034 40.7)

  • #C9E4D5

    #C9E4D5

    oklch(89.5% 0.035 161.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8DAF3

    #D8DAF3

    oklch(89.4% 0.034 282)

  • #F2D4D6

    #F2D4D6

    oklch(89.5% 0.034 13.2)

  • #E0DEC4

    #E0DEC4

    oklch(89.5% 0.035 103.5)

  • #C3E4E2

    #C3E4E2

    oklch(89.4% 0.035 192.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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