#DFA5FA

Closest named color: Lilac (#CEA2FD). oklch(80.5% 0.131 314.7), rgb(223, 165, 250).

Aa

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

About this color

#DFA5FA is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.131 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.029 away. Black text reads best on it, at 10.90:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.90:1
White text1.92:1

Values

HEX#DFA5FA
RGBrgb(223, 165, 250)
HSLhsl(281, 89%, 81%)
OKLCHoklch(80.5% 0.131 314.7)

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 #DFA5FA 1.92:1 Fails Lc -41.1 Non-text elements, placeholder text
Black text on #DFA5FA 10.90:1 AAA Lc 67.1 Content text, not long reading
#DFA5FA text on white 1.92:1 Fails Lc 36.8 Non-text elements, placeholder text
#DFA5FA text on black 10.90:1 AAA Lc -65.7 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

    #F4E3FC

    oklch(93.7% 0.038 315.1)

  3. Step 200

    200

    #EBCBFB

    oklch(88.4% 0.073 314.4)

  4. Step 300

    300 (this color)

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  5. Step 400

    400

    #D06FF9

    oklch(70.7% 0.211 314.8)

  6. Step 500

    500

    #C339F6

    oklch(63.1% 0.27 314.7)

  7. Step 600

    600

    #AB00DE

    oklch(55.6% 0.275 314.5)

  8. Step 700

    700

    #9100BC

    oklch(49.2% 0.243 314.7)

  9. Step 800

    800

    #77009B

    oklch(42.6% 0.21 314.7)

  10. Step 900

    900

    #620C7F

    oklch(37.6% 0.175 314.8)

  11. Step 950

    950

    #3A0D4B

    oklch(27.1% 0.111 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#DFA5FA 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)#98B7FD0.104
Deuteranopia (no green cones)#A5BCF70.096
Tritanopia (no blue cones)#DDB0C40.090
Achromatopsia (no color)#BBBBBB0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA5FA

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  • #9BD27A

    #9BD27A

    oklch(80.5% 0.131 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA5FA

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  • #B8B7FF

    #B8B7FF

    oklch(80.6% 0.101 284.5)

  • #FB9CD3

    #FB9CD3

    oklch(80.5% 0.131 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #DFA5FA

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  • #CDC456

    #CDC456

    oklch(80.6% 0.132 104.6)

  • #5FDAAA

    #5FDAAA

    oklch(80.6% 0.131 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA5FA

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  • #F1B255

    #F1B255

    oklch(80.5% 0.131 74.5)

  • #28D9D9

    #28D9D9

    oklch(80.4% 0.131 194.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA5FA

    #DFA5FA

    oklch(80.5% 0.131 314.7)

  • #FFA67F

    #FFA67F

    oklch(80.5% 0.118 44.3)

  • #9BD27A

    #9BD27A

    oklch(80.5% 0.131 134.6)

  • #48D1FF

    #48D1FF

    oklch(80.6% 0.132 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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