#D4D4EC

Closest named color: Cadet Gray (#CED4DA). oklch(87.7% 0.033 285.7), rgb(212, 212, 236).

Aa

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

About this color

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

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

Values

HEX#D4D4EC
RGBrgb(212, 212, 236)
HSLhsl(240, 39%, 88%)
OKLCHoklch(87.7% 0.033 285.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 #D4D4EC 1.45:1 Fails Lc -24.7 Dividers and decoration only
Black text on #D4D4EC 14.42:1 AAA Lc 82.0 Fine for body text
#D4D4EC text on white 1.45:1 Fails Lc 21.7 Dividers and decoration only
#D4D4EC text on black 14.42:1 AAA Lc -81.6 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

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200 (this color)

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  4. Step 300

    300

    #BDBDDB

    oklch(80.8% 0.042 285.4)

  5. Step 400

    400

    #9C9BCA

    oklch(70.7% 0.068 285.5)

  6. Step 500

    500

    #8482BC

    oklch(63.1% 0.087 285.2)

  7. Step 600

    600

    #6E6BA8

    oklch(55.6% 0.094 285.2)

  8. Step 700

    700

    #5C5990

    oklch(49.1% 0.087 285.2)

  9. Step 800

    800

    #4B4975

    oklch(42.7% 0.072 285)

  10. Step 900

    900

    #3F3D5E

    oklch(37.7% 0.056 286.2)

  11. Step 950

    950

    #252437

    oklch(27% 0.035 286.2)

Export this scale for Tailwind in the Tailwind colors tool

#D4D4EC 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)#CFD7ED0.009
Deuteranopia (no green cones)#CED5EB0.008
Tritanopia (no blue cones)#CFD8DC0.029
Achromatopsia (no color)#D6D6D60.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4D4EC

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  • #D9D8C0

    #D9D8C0

    oklch(87.7% 0.032 105.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4D4EC

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  • #C9D8ED

    #C9D8ED

    oklch(87.7% 0.033 256.8)

  • #DFD0E6

    #DFD0E6

    oklch(87.6% 0.034 315.2)

Open the analogous palette in the generator

Split complementary

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

  • #D4D4EC

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  • #E4D4BF

    #E4D4BF

    oklch(87.7% 0.033 74.8)

  • #CDDCC7

    #CDDCC7

    oklch(87.7% 0.033 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4D4EC

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  • #EAD0C5

    #EAD0C5

    oklch(87.6% 0.033 44.3)

  • #C3DED1

    #C3DED1

    oklch(87.7% 0.034 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4D4EC

    #D4D4EC

    oklch(87.7% 0.033 285.7)

  • #ECCECF

    #ECCECF

    oklch(87.7% 0.034 15.5)

  • #D9D8C0

    #D9D8C0

    oklch(87.7% 0.032 105.1)

  • #BFDEDD

    #BFDEDD

    oklch(87.8% 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 #D4D4EC, closest first.

Similar named colors

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

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