#DFA7FD

Closest named color: Lilac (#CEA2FD). oklch(81% 0.132 313.3), rgb(223, 167, 253).

Aa

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

About this color

#DFA7FD is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.132 and its hue 313°. 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 11.08:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text11.08:1
White text1.89:1

Values

HEX#DFA7FD
RGBrgb(223, 167, 253)
HSLhsl(279, 96%, 82%)
OKLCHoklch(81% 0.132 313.3)

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 #DFA7FD 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #DFA7FD 11.08:1 AAA Lc 68.0 Content text, not long reading
#DFA7FD text on white 1.89:1 Fails Lc 35.9 Non-text elements, placeholder text
#DFA7FD text on black 11.08:1 AAA Lc -66.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFC

    oklch(88.5% 0.072 312.8)

  4. Step 300

    300 (this color)

    #DFA7FD

    oklch(81% 0.132 313.3)

  5. Step 400

    400

    #CE70FB

    oklch(70.7% 0.211 313.5)

  6. Step 500

    500

    #C03BF8

    oklch(63% 0.269 313.3)

  7. Step 600

    600

    #A900E1

    oklch(55.6% 0.276 313.2)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #610E81

    oklch(37.8% 0.175 313.3)

  11. Step 950

    950

    #390D4B

    oklch(27% 0.111 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFA7FD 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)#99B9FF0.102
Deuteranopia (no green cones)#A6BEFA0.094
Tritanopia (no blue cones)#DDB2C70.090
Achromatopsia (no color)#BCBCBC0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA7FD

    #DFA7FD

    oklch(81% 0.132 313.3)

  • #9FD379

    #9FD379

    oklch(81% 0.131 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA7FD

    #DFA7FD

    oklch(81% 0.132 313.3)

  • #B8B9FF

    #B8B9FF

    oklch(81% 0.098 283.3)

  • #FC9ED7

    #FC9ED7

    oklch(81.1% 0.131 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #DFA7FD

    #DFA7FD

    oklch(81% 0.132 313.3)

  • #D0C556

    #D0C556

    oklch(81.1% 0.132 103.7)

  • #63DBA9

    #63DBA9

    oklch(80.9% 0.131 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA7FD

    #DFA7FD

    oklch(81% 0.132 313.3)

  • #F4B357

    #F4B357

    oklch(81% 0.132 73.4)

  • #2CDBD9

    #2CDBD9

    oklch(81% 0.132 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA7FD

    #DFA7FD

    oklch(81% 0.132 313.3)

  • #FFA884

    #FFA884

    oklch(80.9% 0.114 43.2)

  • #9FD379

    #9FD379

    oklch(81% 0.131 133.1)

  • #47D3FF

    #47D3FF

    oklch(81% 0.132 223.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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