#DFDEFB

Closest named color: Lavender (#E6E6FA). oklch(91% 0.039 287.2), rgb(223, 222, 251).

Aa

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

About this color

#DFDEFB is a very light, muted purple. In OKLCH its lightness is 91%, its chroma 0.039 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender (#E6E6FA), ΔE 0.024 away. Black text reads best on it, at 15.97:1.

Hue familyPurples
Lightnessvery light (91%)
Chromamuted (0.039)
Temperaturecool
Nearest nameLavender (#E6E6FA)
Black text15.97:1
White text1.31:1

Values

HEX#DFDEFB
RGBrgb(223, 222, 251)
HSLhsl(242, 78%, 93%)
OKLCHoklch(91% 0.039 287.2)

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 #DFDEFB 1.31:1 Fails Lc -17.9 Dividers and decoration only
Black text on #DFDEFB 15.97:1 AAA Lc 88.1 Fine for body text
#DFDEFB text on white 1.31:1 Fails Lc 15.5 Dividers and decoration only
#DFDEFB text on black 15.97:1 AAA Lc -88.2 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)

    #DFDEFB

    oklch(91% 0.039 287.2)

  4. Step 300

    300

    #BEBCE0

    oklch(80.9% 0.05 287.8)

  5. Step 400

    400

    #9D99D1

    oklch(70.7% 0.081 287.4)

  6. Step 500

    500

    #857FC5

    oklch(63% 0.104 286.9)

  7. Step 600

    600

    #7068B1

    oklch(55.7% 0.111 287.2)

  8. Step 700

    700

    #5E5699

    oklch(49.2% 0.105 287.4)

  9. Step 800

    800

    #4C477C

    oklch(42.8% 0.086 286.5)

  10. Step 900

    900

    #3F3B63

    oklch(37.5% 0.068 287.3)

  11. Step 950

    950

    #25233A

    oklch(27% 0.042 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#DFDEFB 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)#D8E1FC0.011
Deuteranopia (no green cones)#D7E0FA0.012
Tritanopia (no blue cones)#DAE3E70.035
Achromatopsia (no color)#E0E0E00.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFDEFB

    #DFDEFB

    oklch(91% 0.039 287.2)

  • #E4E4C6

    #E4E4C6

    oklch(91.1% 0.04 107.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFDEFB

    #DFDEFB

    oklch(91% 0.039 287.2)

  • #D1E3FC

    #D1E3FC

    oklch(91% 0.039 256.6)

  • #ECDAF3

    #ECDAF3

    oklch(91% 0.039 316.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFDEFB

    #DFDEFB

    oklch(91% 0.039 287.2)

  • #F0DFC5

    #F0DFC5

    oklch(91.1% 0.039 78.6)

  • #D5E8CF

    #D5E8CF

    oklch(91% 0.039 138.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFDEFB

    #DFDEFB

    oklch(91% 0.039 287.2)

  • #F9DACC

    #F9DACC

    oklch(91% 0.039 45.8)

  • #CAEADC

    #CAEADC

    oklch(91% 0.039 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFDEFB

    #DFDEFB

    oklch(91% 0.039 287.2)

  • #FBD8D8

    #FBD8D8

    oklch(91.1% 0.039 17.9)

  • #E4E4C6

    #E4E4C6

    oklch(91.1% 0.04 107.2)

  • #C4EAEA

    #C4EAEA

    oklch(91% 0.039 196.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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