#DFA1FA

Closest named color: Lilac (#CEA2FD). oklch(79.9% 0.138 315.2), rgb(223, 161, 250).

Aa

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

About this color

#DFA1FA is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.138 and its hue 315°. 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.61:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.61:1
White text1.97:1

Values

HEX#DFA1FA
RGBrgb(223, 161, 250)
HSLhsl(282, 90%, 81%)
OKLCHoklch(79.9% 0.138 315.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 #DFA1FA 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #DFA1FA 10.61:1 AAA Lc 65.9 Content text, not long reading
#DFA1FA text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#DFA1FA text on black 10.61:1 AAA Lc -64.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E2FD

    oklch(93.5% 0.041 314.6)

  3. Step 200

    200

    #EDCAFC

    oklch(88.4% 0.077 315.7)

  4. Step 300

    300 (this color)

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  5. Step 400

    400

    #D36BFC

    oklch(70.6% 0.221 315.3)

  6. Step 500

    500

    #C62EFA

    oklch(63.1% 0.283 315.1)

  7. Step 600

    600

    #AC00DC

    oklch(55.6% 0.273 315.3)

  8. Step 700

    700

    #9100BB

    oklch(49.1% 0.242 315)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #640182

    oklch(37.7% 0.185 315)

  11. Step 950

    950

    #3B0A4C

    oklch(27.1% 0.116 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#DFA1FA 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)#93B5FD0.112
Deuteranopia (no green cones)#A2BAF70.102
Tritanopia (no blue cones)#DEACC20.093
Achromatopsia (no color)#B8B8B80.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA1FA

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  • #95D174

    #95D174

    oklch(79.8% 0.138 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA1FA

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  • #B6B4FF

    #B6B4FF

    oklch(79.9% 0.106 285)

  • #FC98D1

    #FC98D1

    oklch(79.9% 0.137 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #DFA1FA

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  • #CAC24C

    #CAC24C

    oklch(79.8% 0.138 105.4)

  • #52D9A7

    #52D9A7

    oklch(79.8% 0.139 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA1FA

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  • #F1AF4A

    #F1AF4A

    oklch(79.8% 0.138 74.7)

  • #00D8D9

    #00D8D9

    oklch(79.9% 0.136 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA1FA

    #DFA1FA

    oklch(79.9% 0.138 315.2)

  • #FFA379

    #FFA379

    oklch(79.9% 0.123 45.1)

  • #95D174

    #95D174

    oklch(79.8% 0.138 135.3)

  • #3ECFFF

    #3ECFFF

    oklch(79.9% 0.136 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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