#D4D5EF

Closest named color: Cadet Gray (#CED4DA). oklch(88% 0.036 283.9), rgb(212, 213, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (88%)
Chromamuted (0.036)
Temperaturecool
Nearest nameCadet Gray (#CED4DA)
Black text14.56:1
White text1.44:1

Values

HEX#D4D5EF
RGBrgb(212, 213, 239)
HSLhsl(238, 46%, 88%)
OKLCHoklch(88% 0.036 283.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 #D4D5EF 1.44:1 Fails Lc -24.1 Dividers and decoration only
Black text on #D4D5EF 14.56:1 AAA Lc 82.6 Fine for body text
#D4D5EF text on white 1.44:1 Fails Lc 21.1 Dividers and decoration only
#D4D5EF text on black 14.56:1 AAA Lc -82.2 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200 (this color)

    #D4D5EF

    oklch(88% 0.036 283.9)

  4. Step 300

    300

    #BCBDDE

    oklch(80.8% 0.046 283.9)

  5. Step 400

    400

    #9A9BCD

    oklch(70.7% 0.073 283.5)

  6. Step 500

    500

    #8282C0

    oklch(63.1% 0.093 283.4)

  7. Step 600

    600

    #6C6AAD

    oklch(55.5% 0.103 283.9)

  8. Step 700

    700

    #5A5894

    oklch(49% 0.095 283.8)

  9. Step 800

    800

    #4A4878

    oklch(42.6% 0.079 284.4)

  10. Step 900

    900

    #3E3D61

    oklch(37.8% 0.061 284.4)

  11. Step 950

    950

    #242439

    oklch(27.1% 0.039 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#D4D5EF 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)#CFD8F00.009
Deuteranopia (no green cones)#CED6EE0.008
Tritanopia (no blue cones)#CFD9DD0.031
Achromatopsia (no color)#D7D7D70.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4D5EF

    #D4D5EF

    oklch(88% 0.036 283.9)

  • #DBD9BF

    #DBD9BF

    oklch(88% 0.035 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4D5EF

    #D4D5EF

    oklch(88% 0.036 283.9)

  • #C8D9EF

    #C8D9EF

    oklch(87.9% 0.036 254.9)

  • #E0D1E9

    #E0D1E9

    oklch(88% 0.036 313)

Open the analogous palette in the generator

Split complementary

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

  • #D4D5EF

    #D4D5EF

    oklch(88% 0.036 283.9)

  • #E6D5BE

    #E6D5BE

    oklch(88.1% 0.036 75.5)

  • #CEDDC6

    #CEDDC6

    oklch(88% 0.035 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4D5EF

    #D4D5EF

    oklch(88% 0.036 283.9)

  • #EDD1C5

    #EDD1C5

    oklch(88.1% 0.036 44.6)

  • #C3DFD1

    #C3DFD1

    oklch(87.9% 0.035 164)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4D5EF

    #D4D5EF

    oklch(88% 0.036 283.9)

  • #EECFD0

    #EECFD0

    oklch(88.1% 0.035 15.6)

  • #DBD9BF

    #DBD9BF

    oklch(88% 0.035 103.5)

  • #BEDFDE

    #BEDFDE

    oklch(87.9% 0.035 194.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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