#DFB1EF

Closest named color: Light Violet (#D6B4FC). oklch(82.2% 0.098 317.2), rgb(223, 177, 239).

Aa

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

About this color

#DFB1EF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.098 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.022 away. Black text reads best on it, at 11.67:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.67:1
White text1.79:1

Values

HEX#DFB1EF
RGBrgb(223, 177, 239)
HSLhsl(285, 66%, 82%)
OKLCHoklch(82.2% 0.098 317.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 #DFB1EF 1.79:1 Fails Lc -37.4 Non-text elements, placeholder text
Black text on #DFB1EF 11.67:1 AAA Lc 70.5 Content text, not long reading
#DFB1EF text on white 1.79:1 Fails Lc 33.3 Non-text elements, placeholder text
#DFB1EF text on black 11.67:1 AAA Lc -69.3 Content text, not long reading

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 300.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CFF1

    oklch(88.6% 0.053 317.1)

  4. Step 300

    300 (this color)

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  5. Step 400

    400

    #C87EE0

    oklch(70.6% 0.158 317.5)

  6. Step 500

    500

    #B959D7

    oklch(63.2% 0.2 317.4)

  7. Step 600

    600

    #A438C5

    oklch(55.6% 0.218 317.1)

  8. Step 700

    700

    #8D28AA

    oklch(49.2% 0.203 317.4)

  9. Step 800

    800

    #72248A

    oklch(42.7% 0.168 317)

  10. Step 900

    900

    #5C246E

    oklch(37.6% 0.131 317)

  11. Step 950

    950

    #361640

    oklch(26.9% 0.083 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFB1EF 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)#A9BEF20.078
Deuteranopia (no green cones)#B3C3ED0.074
Tritanopia (no blue cones)#DFB8C70.065
Achromatopsia (no color)#C1C1C10.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFB1EF

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  • #A6D495

    #A6D495

    oklch(82.1% 0.098 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFB1EF

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  • #C0BCFF

    #C0BCFF

    oklch(82.2% 0.094 286.9)

  • #F4ABD1

    #F4ABD1

    oklch(82.2% 0.098 346.9)

Open the analogous palette in the generator

Split complementary

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

  • #DFB1EF

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  • #CBCA7D

    #CBCA7D

    oklch(82.2% 0.099 107.7)

  • #82D9B8

    #82D9B8

    oklch(82.1% 0.097 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFB1EF

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  • #E9BD7A

    #E9BD7A

    oklch(82.3% 0.099 77.2)

  • #6ED9DB

    #6ED9DB

    oklch(82.3% 0.099 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFB1EF

    #DFB1EF

    oklch(82.2% 0.098 317.2)

  • #FAB18D

    #FAB18D

    oklch(82.1% 0.099 47.2)

  • #A6D495

    #A6D495

    oklch(82.1% 0.098 137.4)

  • #7BD2F6

    #7BD2F6

    oklch(82.2% 0.098 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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