#D8DAF2

Closest named color: Gainsboro (#DCDCDC). oklch(89.4% 0.033 281.9), rgb(216, 218, 242).

Aa

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

About this color

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

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

Values

HEX#D8DAF2
RGBrgb(216, 218, 242)
HSLhsl(235, 50%, 90%)
OKLCHoklch(89.4% 0.033 281.9)

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 #D8DAF2 1.37:1 Fails Lc -21.1 Dividers and decoration only
Black text on #D8DAF2 15.23:1 AAA Lc 85.2 Fine for body text
#D8DAF2 text on white 1.37:1 Fails Lc 18.5 Dividers and decoration only
#D8DAF2 text on black 15.23: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)

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  4. Step 300

    300

    #BCBEDC

    oklch(81% 0.042 282.4)

  5. Step 400

    400

    #999CCA

    oklch(70.7% 0.067 281.6)

  6. Step 500

    500

    #8183BD

    oklch(63.1% 0.087 282.1)

  7. Step 600

    600

    #6B6CA9

    oklch(55.6% 0.094 282.2)

  8. Step 700

    700

    #595A91

    oklch(49.1% 0.087 281.9)

  9. Step 800

    800

    #494A76

    oklch(42.8% 0.072 281.9)

  10. Step 900

    900

    #3D3E5F

    oklch(37.8% 0.056 282)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#D8DAF2 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)#D4DCF30.007
Deuteranopia (no green cones)#D3DBF10.007
Tritanopia (no blue cones)#D3DEE20.029
Achromatopsia (no color)#DBDBDB0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8DAF2

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  • #E0DDC5

    #E0DDC5

    oklch(89.4% 0.032 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8DAF2

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  • #CDDEF2

    #CDDEF2

    oklch(89.4% 0.033 252.5)

  • #E3D6EC

    #E3D6EC

    oklch(89.3% 0.033 311.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8DAF2

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  • #EAD9C5

    #EAD9C5

    oklch(89.4% 0.033 71.9)

  • #D4E1CB

    #D4E1CB

    oklch(89.4% 0.033 132.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8DAF2

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  • #F0D6CC

    #F0D6CC

    oklch(89.5% 0.032 42.3)

  • #CAE3D5

    #CAE3D5

    oklch(89.3% 0.033 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8DAF2

    #D8DAF2

    oklch(89.4% 0.033 281.9)

  • #F1D4D6

    #F1D4D6

    oklch(89.5% 0.032 13)

  • #E0DDC5

    #E0DDC5

    oklch(89.4% 0.032 101.2)

  • #C4E3E2

    #C4E3E2

    oklch(89.3% 0.033 194.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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