#D4D7EF

Closest named color: Cadet Gray (#CED4DA). oklch(88.4% 0.033 280), rgb(212, 215, 239).

Aa

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

About this color

#D4D7EF is a light, muted purple. In OKLCH its lightness is 88%, its chroma 0.033 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.030 away. Black text reads best on it, at 14.76:1.

Hue familyPurples
Lightnesslight (88%)
Chromamuted (0.033)
Temperaturecool
Nearest nameCadet Gray (#CED4DA)
Black text14.76:1
White text1.42:1

Values

HEX#D4D7EF
RGBrgb(212, 215, 239)
HSLhsl(233, 46%, 88%)
OKLCHoklch(88.4% 0.033 280)

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 #D4D7EF 1.42:1 Fails Lc -23.2 Dividers and decoration only
Black text on #D4D7EF 14.76:1 AAA Lc 83.4 Fine for body text
#D4D7EF text on white 1.42:1 Fails Lc 20.3 Dividers and decoration only
#D4D7EF text on black 14.76:1 AAA Lc -83.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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200 (this color)

    #D4D7EF

    oklch(88.4% 0.033 280)

  4. Step 300

    300

    #BBBEDC

    oklch(80.9% 0.042 280.9)

  5. Step 400

    400

    #989CCB

    oklch(70.6% 0.069 280.7)

  6. Step 500

    500

    #7F84BD

    oklch(63.2% 0.086 279.8)

  7. Step 600

    600

    #696DAA

    oklch(55.7% 0.094 280)

  8. Step 700

    700

    #575A92

    oklch(49% 0.089 280.2)

  9. Step 800

    800

    #474A76

    oklch(42.7% 0.073 279.9)

  10. Step 900

    900

    #3C3E5F

    oklch(37.7% 0.056 280.7)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#D4D7EF 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)#D1D9F00.006
Deuteranopia (no green cones)#D0D7EE0.006
Tritanopia (no blue cones)#CEDBDF0.029
Achromatopsia (no color)#D8D8D80.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4D7EF

    #D4D7EF

    oklch(88.4% 0.033 280)

  • #DEDAC1

    #DEDAC1

    oklch(88.5% 0.034 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4D7EF

    #D4D7EF

    oklch(88.4% 0.033 280)

  • #C9DBEE

    #C9DBEE

    oklch(88.4% 0.033 249.6)

  • #E0D3EA

    #E0D3EA

    oklch(88.4% 0.034 310.7)

Open the analogous palette in the generator

Split complementary

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

  • #D4D7EF

    #D4D7EF

    oklch(88.4% 0.033 280)

  • #E7D6C2

    #E7D6C2

    oklch(88.5% 0.033 71.9)

  • #D2DEC7

    #D2DEC7

    oklch(88.5% 0.034 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4D7EF

    #D4D7EF

    oklch(88.4% 0.033 280)

  • #EDD2C9

    #EDD2C9

    oklch(88.4% 0.033 39.3)

  • #C7E0D1

    #C7E0D1

    oklch(88.4% 0.033 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4D7EF

    #D4D7EF

    oklch(88.4% 0.033 280)

  • #EED0D4

    #EED0D4

    oklch(88.4% 0.034 8.7)

  • #DEDAC1

    #DEDAC1

    oklch(88.5% 0.034 99.6)

  • #C1E0DE

    #C1E0DE

    oklch(88.4% 0.033 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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