#D2D1EC

Closest named color: Cadet Gray (#CED4DA). oklch(87% 0.037 287.3), rgb(210, 209, 236).

Aa

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

About this color

#D2D1EC is a light, muted purple. In OKLCH its lightness is 87%, its chroma 0.037 and its hue 287°. 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.07:1.

Hue familyPurples
Lightnesslight (87%)
Chromamuted (0.037)
Temperaturecool
Nearest nameCadet Gray (#CED4DA)
Black text14.07:1
White text1.49:1

Values

HEX#D2D1EC
RGBrgb(210, 209, 236)
HSLhsl(242, 42%, 87%)
OKLCHoklch(87% 0.037 287.3)

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 #D2D1EC 1.49:1 Fails Lc -26.3 Dividers and decoration only
Black text on #D2D1EC 14.07:1 AAA Lc 80.6 Fine for body text
#D2D1EC text on white 1.49:1 Fails Lc 23.1 Dividers and decoration only
#D2D1EC text on black 14.07:1 AAA Lc -80.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200 (this color)

    #D2D1EC

    oklch(87% 0.037 287.3)

  4. Step 300

    300

    #BEBCDF

    oklch(80.8% 0.049 287.9)

  5. Step 400

    400

    #9D9ACE

    oklch(70.8% 0.075 286.9)

  6. Step 500

    500

    #8680C1

    oklch(63.1% 0.097 287.5)

  7. Step 600

    600

    #7069AE

    oklch(55.7% 0.105 287.1)

  8. Step 700

    700

    #5E5795

    oklch(49.2% 0.098 287.4)

  9. Step 800

    800

    #4C4779

    oklch(42.6% 0.082 287)

  10. Step 900

    900

    #403C62

    oklch(37.8% 0.064 287.7)

  11. Step 950

    950

    #252339

    oklch(26.9% 0.041 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#D2D1EC 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)#CBD4ED0.011
Deuteranopia (no green cones)#CBD3EB0.011
Tritanopia (no blue cones)#CDD5DA0.032
Achromatopsia (no color)#D3D3D30.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2D1EC

    #D2D1EC

    oklch(87% 0.037 287.3)

  • #D6D6BB

    #D6D6BB

    oklch(86.9% 0.036 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2D1EC

    #D2D1EC

    oklch(87% 0.037 287.3)

  • #C5D6ED

    #C5D6ED

    oklch(87% 0.037 256)

  • #DECDE5

    #DECDE5

    oklch(86.9% 0.037 316.2)

Open the analogous palette in the generator

Split complementary

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

  • #D2D1EC

    #D2D1EC

    oklch(87% 0.037 287.3)

  • #E2D2BA

    #E2D2BA

    oklch(87% 0.037 78.1)

  • #C9DAC3

    #C9DAC3

    oklch(86.9% 0.036 137.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2D1EC

    #D2D1EC

    oklch(87% 0.037 287.3)

  • #EACDC0

    #EACDC0

    oklch(86.9% 0.037 45.6)

  • #BEDCCF

    #BEDCCF

    oklch(86.9% 0.036 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2D1EC

    #D2D1EC

    oklch(87% 0.037 287.3)

  • #ECCBCB

    #ECCBCB

    oklch(87% 0.037 17.9)

  • #D6D6BB

    #D6D6BB

    oklch(86.9% 0.036 107.1)

  • #B9DCDD

    #B9DCDD

    oklch(87% 0.037 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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