#DFA1F2

Closest named color: Lilac (#CEA2FD). oklch(79.5% 0.129 318.1), rgb(223, 161, 242).

Aa

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

About this color

#DFA1F2 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.129 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.030 away. Black text reads best on it, at 10.51:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.51:1
White text1.99:1

Values

HEX#DFA1F2
RGBrgb(223, 161, 242)
HSLhsl(286, 76%, 79%)
OKLCHoklch(79.5% 0.129 318.1)

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 #DFA1F2 1.99:1 Fails Lc -43.0 Non-text elements, placeholder text
Black text on #DFA1F2 10.51:1 AAA Lc 65.4 Content text, not long reading
#DFA1F2 text on white 1.99:1 Fails Lc 38.5 Non-text elements, placeholder text
#DFA1F2 text on black 10.51:1 AAA Lc -63.8 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E3FA

    oklch(93.7% 0.036 318.9)

  3. Step 200

    200

    #EECBF8

    oklch(88.6% 0.071 318.7)

  4. Step 300

    300 (this color)

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  5. Step 400

    400

    #D46EF2

    oklch(70.6% 0.207 318)

  6. Step 500

    500

    #C838ED

    oklch(63.1% 0.265 318.3)

  7. Step 600

    600

    #B000D5

    oklch(55.7% 0.27 318.2)

  8. Step 700

    700

    #9400B4

    oklch(49% 0.238 318.1)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #650C7A

    oklch(37.7% 0.172 318.4)

  11. Step 950

    950

    #3B0C48

    oklch(26.9% 0.11 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#DFA1F2 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)#96B3F50.107
Deuteranopia (no green cones)#A5BAEF0.100
Tritanopia (no blue cones)#DFABBF0.085
Achromatopsia (no color)#B7B7B70.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA1F2

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  • #92D07D

    #92D07D

    oklch(79.6% 0.129 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA1F2

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  • #B9B1FF

    #B9B1FF

    oklch(79.6% 0.11 288.3)

  • #F999CB

    #F999CB

    oklch(79.6% 0.129 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #DFA1F2

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  • #C4C258

    #C4C258

    oklch(79.4% 0.129 108)

  • #57D7AC

    #57D7AC

    oklch(79.6% 0.13 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA1F2

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  • #EAB152

    #EAB152

    oklch(79.5% 0.129 77.7)

  • #27D5DA

    #27D5DA

    oklch(79.5% 0.129 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA1F2

    #DFA1F2

    oklch(79.5% 0.129 318.1)

  • #FFA271

    #FFA271

    oklch(79.6% 0.128 48)

  • #92D07D

    #92D07D

    oklch(79.6% 0.129 138.1)

  • #4ECCFD

    #4ECCFD

    oklch(79.5% 0.129 227.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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