#D1D2EF

Closest named color: Cadet Gray (#CED4DA). oklch(87.2% 0.04 284), rgb(209, 210, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (87%)
Chromamuted (0.040)
Temperaturecool
Nearest nameCadet Gray (#CED4DA)
Black text14.17:1
White text1.48:1

Values

HEX#D1D2EF
RGBrgb(209, 210, 239)
HSLhsl(238, 48%, 88%)
OKLCHoklch(87.2% 0.04 284)

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 #D1D2EF 1.48:1 Fails Lc -25.8 Dividers and decoration only
Black text on #D1D2EF 14.17:1 AAA Lc 81.0 Fine for body text
#D1D2EF text on white 1.48:1 Fails Lc 22.7 Dividers and decoration only
#D1D2EF text on black 14.17:1 AAA Lc -80.5 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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200 (this color)

    #D1D2EF

    oklch(87.2% 0.04 284)

  4. Step 300

    300

    #BCBDE1

    oklch(80.9% 0.051 284)

  5. Step 400

    400

    #9A9AD2

    oklch(70.7% 0.081 284.1)

  6. Step 500

    500

    #8280C7

    oklch(63.1% 0.106 284.2)

  7. Step 600

    600

    #6C69B3

    oklch(55.7% 0.113 283.9)

  8. Step 700

    700

    #5A579A

    oklch(49.1% 0.105 283.8)

  9. Step 800

    800

    #4A477D

    oklch(42.7% 0.088 284.5)

  10. Step 900

    900

    #3D3C65

    oklch(37.7% 0.069 283.7)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#D1D2EF 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)#CBD5F00.010
Deuteranopia (no green cones)#CAD3EE0.010
Tritanopia (no blue cones)#CBD7DB0.036
Achromatopsia (no color)#D4D4D40.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1D2EF

    #D1D2EF

    oklch(87.2% 0.04 284)

  • #D9D7B9

    #D9D7B9

    oklch(87.3% 0.04 104.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1D2EF

    #D1D2EF

    oklch(87.2% 0.04 284)

  • #C3D7EF

    #C3D7EF

    oklch(87.2% 0.04 253)

  • #DFCEE8

    #DFCEE8

    oklch(87.3% 0.04 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #D1D2EF

    #D1D2EF

    oklch(87.2% 0.04 284)

  • #E5D2B9

    #E5D2B9

    oklch(87.3% 0.04 74.8)

  • #CADBC1

    #CADBC1

    oklch(87.2% 0.04 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1D2EF

    #D1D2EF

    oklch(87.2% 0.04 284)

  • #EDCDC0

    #EDCDC0

    oklch(87.2% 0.04 43.4)

  • #BEDECE

    #BEDECE

    oklch(87.3% 0.04 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1D2EF

    #D1D2EF

    oklch(87.2% 0.04 284)

  • #EECBCD

    #EECBCD

    oklch(87.2% 0.04 14)

  • #D9D7B9

    #D9D7B9

    oklch(87.3% 0.04 104.1)

  • #B8DEDC

    #B8DEDC

    oklch(87.3% 0.04 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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