#DFD7EF

Closest named color: Gainsboro (#DCDCDC). oklch(89.3% 0.034 300.9), rgb(223, 215, 239).

Aa

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

About this color

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

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

Values

HEX#DFD7EF
RGBrgb(223, 215, 239)
HSLhsl(260, 43%, 89%)
OKLCHoklch(89.3% 0.034 300.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 #DFD7EF 1.39:1 Fails Lc -21.7 Dividers and decoration only
Black text on #DFD7EF 15.10:1 AAA Lc 84.7 Fine for body text
#DFD7EF text on white 1.39:1 Fails Lc 19.0 Dividers and decoration only
#DFD7EF text on black 15.10:1 AAA Lc -84.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

    #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)

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  4. Step 300

    300

    #C5BBD9

    oklch(81% 0.043 300.6)

  5. Step 400

    400

    #A897C5

    oklch(70.7% 0.069 301.6)

  6. Step 500

    500

    #927DB7

    oklch(63.1% 0.088 300.5)

  7. Step 600

    600

    #7D65A3

    oklch(55.5% 0.097 301.1)

  8. Step 700

    700

    #69548B

    oklch(49% 0.089 300.8)

  9. Step 800

    800

    #564571

    oklch(42.7% 0.074 301.1)

  10. Step 900

    900

    #473A5B

    oklch(37.7% 0.057 301.8)

  11. Step 950

    950

    #292236

    oklch(26.9% 0.038 300)

Export this scale for Tailwind in the Tailwind colors tool

#DFD7EF 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.017
Deuteranopia (no green cones)#D4DAEE0.016
Tritanopia (no blue cones)#DDDADF0.026
Achromatopsia (no color)#DBDBDB0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD7EF

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  • #D8DFC7

    #D8DFC7

    oklch(89.2% 0.033 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD7EF

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  • #D3DBF3

    #D3DBF3

    oklch(89.3% 0.034 271)

  • #E9D4E6

    #E9D4E6

    oklch(89.2% 0.033 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #DFD7EF

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  • #E4DBC3

    #E4DBC3

    oklch(89.2% 0.034 89.9)

  • #CCE2D1

    #CCE2D1

    oklch(89.2% 0.033 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD7EF

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  • #EDD7C6

    #EDD7C6

    oklch(89.3% 0.034 60.1)

  • #C5E3DD

    #C5E3DD

    oklch(89.2% 0.033 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD7EF

    #DFD7EF

    oklch(89.3% 0.034 300.9)

  • #F1D4CE

    #F1D4CE

    oklch(89.2% 0.034 31.6)

  • #D8DFC7

    #D8DFC7

    oklch(89.2% 0.033 120.3)

  • #C3E2E8

    #C3E2E8

    oklch(89.2% 0.034 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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