#DFA2FF

Closest named color: Lilac (#CEA2FD). oklch(80.3% 0.142 313.5), rgb(223, 162, 255).

Aa

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

About this color

#DFA2FF is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.142 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.027 away. Black text reads best on it, at 10.74:1.

Hue familyPurples
Lightnesslight (80%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.74:1
White text1.95:1

Values

HEX#DFA2FF
RGBrgb(223, 162, 255)
HSLhsl(279, 100%, 82%)
OKLCHoklch(80.3% 0.142 313.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 #DFA2FF 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #DFA2FF 10.74:1 AAA Lc 66.5 Content text, not long reading
#DFA2FF text on white 1.95:1 Fails Lc 37.4 Non-text elements, placeholder text
#DFA2FF text on black 10.74:1 AAA Lc -65.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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FE

    oklch(93.6% 0.042 313.7)

  3. Step 200

    200

    #ECCAFF

    oklch(88.5% 0.08 313.4)

  4. Step 300

    300 (this color)

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  5. Step 400

    400

    #D06DFF

    oklch(70.7% 0.22 313.5)

  6. Step 500

    500

    #C42DFF

    oklch(63.1% 0.287 313.5)

  7. Step 600

    600

    #AA00E1

    oklch(55.7% 0.276 313.5)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #630085

    oklch(37.7% 0.187 313.4)

  11. Step 950

    950

    #3A084E

    oklch(26.9% 0.12 313.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2FF 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)#92B6FF0.113
Deuteranopia (no green cones)#A1BBFC0.103
Tritanopia (no blue cones)#DDAFC50.099
Achromatopsia (no color)#B9B9B90.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2FF

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  • #99D270

    #99D270

    oklch(80.2% 0.142 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2FF

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  • #B5B6FF

    #B5B6FF

    oklch(80.2% 0.103 283.2)

  • #FE98D6

    #FE98D6

    oklch(80.3% 0.142 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2FF

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  • #CFC246

    #CFC246

    oklch(80.2% 0.142 103.3)

  • #53DBA5

    #53DBA5

    oklch(80.3% 0.142 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2FF

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  • #F5AF47

    #F5AF47

    oklch(80.2% 0.142 73.6)

  • #00DAD7

    #00DAD7

    oklch(80.3% 0.138 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2FF

    #DFA2FF

    oklch(80.3% 0.142 313.5)

  • #FFA57F

    #FFA57F

    oklch(80.3% 0.119 43.6)

  • #99D270

    #99D270

    oklch(80.2% 0.142 133.4)

  • #39D1FF

    #39D1FF

    oklch(80.3% 0.137 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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