#DFA1FE

Closest named color: Lilac (#CEA2FD). oklch(80% 0.143 313.9), rgb(223, 161, 254).

Aa

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

About this color

#DFA1FE is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.143 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.026 away. Black text reads best on it, at 10.66:1.

Hue familyPurples
Lightnesslight (80%)
Chromavivid (0.143)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.66:1
White text1.96:1

Values

HEX#DFA1FE
RGBrgb(223, 161, 254)
HSLhsl(280, 98%, 81%)
OKLCHoklch(80% 0.143 313.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 #DFA1FE 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #DFA1FE 10.66:1 AAA Lc 66.1 Content text, not long reading
#DFA1FE text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#DFA1FE text on black 10.66:1 AAA Lc -64.6 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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FE

    oklch(93.6% 0.042 313.7)

  3. Step 200

    200

    #ECCAFE

    oklch(88.4% 0.079 313.9)

  4. Step 300

    300 (this color)

    #DFA1FE

    oklch(80% 0.143 313.9)

  5. Step 400

    400

    #D16CFF

    oklch(70.7% 0.222 313.9)

  6. Step 500

    500

    #C52AFF

    oklch(63.1% 0.289 313.9)

  7. Step 600

    600

    #AA00DF

    oklch(55.5% 0.275 314)

  8. Step 700

    700

    #9000BD

    oklch(49.1% 0.243 314.1)

  9. Step 800

    800

    #76009D

    oklch(42.7% 0.212 313.7)

  10. Step 900

    900

    #630084

    oklch(37.6% 0.187 313.8)

  11. Step 950

    950

    #3B084E

    oklch(27.1% 0.12 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#DFA1FE 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)#91B5FF0.114
Deuteranopia (no green cones)#A0BAFB0.104
Tritanopia (no blue cones)#DDADC40.097
Achromatopsia (no color)#B9B9B90.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA1FE

    #DFA1FE

    oklch(80% 0.143 313.9)

  • #97D270

    #97D270

    oklch(80.1% 0.143 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA1FE

    #DFA1FE

    oklch(80% 0.143 313.9)

  • #B5B5FF

    #B5B5FF

    oklch(80% 0.104 283.8)

  • #FD97D5

    #FD97D5

    oklch(80% 0.142 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFA1FE

    #DFA1FE

    oklch(80% 0.143 313.9)

  • #CEC245

    #CEC245

    oklch(80.1% 0.143 103.8)

  • #50DAA5

    #50DAA5

    oklch(80% 0.142 164.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA1FE

    #DFA1FE

    oklch(80% 0.143 313.9)

  • #F4AF45

    #F4AF45

    oklch(80.1% 0.143 74.4)

  • #00D9D7

    #00D9D7

    oklch(80.1% 0.137 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA1FE

    #DFA1FE

    oklch(80% 0.143 313.9)

  • #FFA47C

    #FFA47C

    oklch(80.1% 0.121 44.3)

  • #97D270

    #97D270

    oklch(80.1% 0.143 134.1)

  • #38D0FF

    #38D0FF

    oklch(80% 0.138 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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