#DED7EF

Closest named color: Gainsboro (#DCDCDC). oklch(89.2% 0.033 299), rgb(222, 215, 239).

Aa

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

About this color

#DED7EF is a light, muted purple. In OKLCH its lightness is 89%, its chroma 0.033 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.033 away. Black text reads best on it, at 15.07:1.

Hue familyPurples
Lightnesslight (89%)
Chromamuted (0.033)
Temperaturein between
Nearest nameGainsboro (#DCDCDC)
Black text15.07:1
White text1.39:1

Values

HEX#DED7EF
RGBrgb(222, 215, 239)
HSLhsl(258, 43%, 89%)
OKLCHoklch(89.2% 0.033 299)

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 #DED7EF 1.39:1 Fails Lc -21.8 Dividers and decoration only
Black text on #DED7EF 15.07:1 AAA Lc 84.6 Fine for body text
#DED7EF text on white 1.39:1 Fails Lc 19.1 Dividers and decoration only
#DED7EF text on black 15.07:1 AAA Lc -84.4 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200 (this color)

    #DED7EF

    oklch(89.2% 0.033 299)

  4. Step 300

    300

    #C4BBD9

    oklch(80.9% 0.043 299.1)

  5. Step 400

    400

    #A698C6

    oklch(70.8% 0.068 298.6)

  6. Step 500

    500

    #917EB7

    oklch(63.2% 0.086 299.2)

  7. Step 600

    600

    #7B66A3

    oklch(55.5% 0.095 299.1)

  8. Step 700

    700

    #68558C

    oklch(49.2% 0.088 299)

  9. Step 800

    800

    #554572

    oklch(42.7% 0.075 299.6)

  10. Step 900

    900

    #463B5C

    oklch(37.8% 0.057 299)

  11. Step 950

    950

    #292236

    oklch(26.9% 0.038 300)

Export this scale for Tailwind in the Tailwind colors tool

#DED7EF 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)#D3DAF00.016
Deuteranopia (no green cones)#D4DAEE0.015
Tritanopia (no blue cones)#DBDADF0.027
Achromatopsia (no color)#DADADA0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #DED7EF

    #DED7EF

    oklch(89.2% 0.033 299)

  • #D9DFC7

    #D9DFC7

    oklch(89.3% 0.033 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DED7EF

    #DED7EF

    oklch(89.2% 0.033 299)

  • #D2DBF2

    #D2DBF2

    oklch(89.2% 0.033 268.7)

  • #E8D4E6

    #E8D4E6

    oklch(89.2% 0.033 329)

Open the analogous palette in the generator

Split complementary

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

  • #DED7EF

    #DED7EF

    oklch(89.2% 0.033 299)

  • #E4DBC3

    #E4DBC3

    oklch(89.2% 0.034 89.9)

  • #CDE2D0

    #CDE2D0

    oklch(89.2% 0.033 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DED7EF

    #DED7EF

    oklch(89.2% 0.033 299)

  • #EDD7C6

    #EDD7C6

    oklch(89.3% 0.034 60.1)

  • #C5E3DC

    #C5E3DC

    oklch(89.2% 0.033 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DED7EF

    #DED7EF

    oklch(89.2% 0.033 299)

  • #F1D4CF

    #F1D4CF

    oklch(89.3% 0.033 29.4)

  • #D9DFC7

    #D9DFC7

    oklch(89.3% 0.033 118.5)

  • #C3E2E7

    #C3E2E7

    oklch(89.2% 0.033 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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