#DFA2F7

Closest named color: Lilac (#CEA2FD). oklch(79.9% 0.133 316.1), rgb(223, 162, 247).

Aa

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

About this color

#DFA2F7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.133 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.028 away. Black text reads best on it, at 10.64:1.

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

Values

HEX#DFA2F7
RGBrgb(223, 162, 247)
HSLhsl(283, 84%, 80%)
OKLCHoklch(79.9% 0.133 316.1)

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 #DFA2F7 1.97:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #DFA2F7 10.64:1 AAA Lc 66.0 Content text, not long reading
#DFA2F7 text on white 1.97:1 Fails Lc 37.9 Non-text elements, placeholder text
#DFA2F7 text on black 10.64:1 AAA Lc -64.5 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

    #EDCBFB

    oklch(88.6% 0.074 316)

  4. Step 300

    300 (this color)

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  5. Step 400

    400

    #D36EF8

    oklch(70.8% 0.213 316.1)

  6. Step 500

    500

    #C635F4

    oklch(63.1% 0.273 316.2)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #790099

    oklch(42.8% 0.209 316.2)

  10. Step 900

    900

    #64087E

    oklch(37.7% 0.177 316.4)

  11. Step 950

    950

    #3B0B4A

    oklch(27% 0.113 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2F7 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)#95B5FA0.109
Deuteranopia (no green cones)#A4BAF40.099
Tritanopia (no blue cones)#DEADC10.090
Achromatopsia (no color)#B9B9B90.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2F7

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  • #95D179

    #95D179

    oklch(79.9% 0.133 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2F7

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  • #B7B3FF

    #B7B3FF

    oklch(79.8% 0.107 286.1)

  • #FB99CF

    #FB99CF

    oklch(79.9% 0.133 346.4)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2F7

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  • #C9C353

    #C9C353

    oklch(80% 0.134 106.2)

  • #57D8AA

    #57D8AA

    oklch(79.8% 0.133 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2F7

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  • #EEB150

    #EEB150

    oklch(79.9% 0.133 76.2)

  • #1AD7D9

    #1AD7D9

    oklch(79.8% 0.133 196)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2F7

    #DFA2F7

    oklch(79.9% 0.133 316.1)

  • #FFA377

    #FFA377

    oklch(79.8% 0.124 46)

  • #95D179

    #95D179

    oklch(79.9% 0.133 136.3)

  • #45CEFF

    #45CEFF

    oklch(79.8% 0.134 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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