#DFA6FA

Closest named color: Lilac (#CEA2FD). oklch(80.7% 0.13 314.5), rgb(223, 166, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.97:1
White text1.91:1

Values

HEX#DFA6FA
RGBrgb(223, 166, 250)
HSLhsl(281, 89%, 82%)
OKLCHoklch(80.7% 0.13 314.5)

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 #DFA6FA 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #DFA6FA 10.97:1 AAA Lc 67.5 Content text, not long reading
#DFA6FA text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#DFA6FA text on black 10.97:1 AAA Lc -66.0 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

    #EBCBFB

    oklch(88.4% 0.073 314.4)

  4. Step 300

    300 (this color)

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  5. Step 400

    400

    #CF70F8

    oklch(70.6% 0.208 314.6)

  6. Step 500

    500

    #C23CF5

    oklch(63.2% 0.266 314.5)

  7. Step 600

    600

    #AB00DE

    oklch(55.6% 0.275 314.5)

  8. Step 700

    700

    #9000BC

    oklch(49% 0.242 314.4)

  9. Step 800

    800

    #77009C

    oklch(42.7% 0.211 314.4)

  10. Step 900

    900

    #620F7F

    oklch(37.8% 0.173 314.6)

  11. Step 950

    950

    #390E4A

    oklch(27% 0.109 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#DFA6FA 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)#99B8FD0.102
Deuteranopia (no green cones)#A6BDF70.095
Tritanopia (no blue cones)#DDB1C50.089
Achromatopsia (no color)#BBBBBB0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA6FA

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  • #9CD37B

    #9CD37B

    oklch(80.8% 0.13 134.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA6FA

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  • #B8B7FF

    #B8B7FF

    oklch(80.6% 0.101 284.5)

  • #FB9DD4

    #FB9DD4

    oklch(80.7% 0.13 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #DFA6FA

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  • #CDC458

    #CDC458

    oklch(80.6% 0.13 104.5)

  • #62DAAA

    #62DAAA

    oklch(80.7% 0.129 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA6FA

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  • #F1B357

    #F1B357

    oklch(80.7% 0.13 74.8)

  • #2FDAD9

    #2FDAD9

    oklch(80.8% 0.13 194.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA6FA

    #DFA6FA

    oklch(80.7% 0.13 314.5)

  • #FFA780

    #FFA780

    oklch(80.7% 0.117 44.6)

  • #9CD37B

    #9CD37B

    oklch(80.8% 0.13 134.6)

  • #4BD1FE

    #4BD1FE

    oklch(80.6% 0.13 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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