#DFA2F3

Closest named color: Lilac (#CEA2FD). oklch(79.7% 0.129 317.6), rgb(223, 162, 243).

Aa

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

About this color

#DFA2F3 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.129 and its hue 318°. 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.59:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.59:1
White text1.98:1

Values

HEX#DFA2F3
RGBrgb(223, 162, 243)
HSLhsl(285, 77%, 79%)
OKLCHoklch(79.7% 0.129 317.6)

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 #DFA2F3 1.98:1 Fails Lc -42.6 Non-text elements, placeholder text
Black text on #DFA2F3 10.59:1 AAA Lc 65.8 Content text, not long reading
#DFA2F3 text on white 1.98:1 Fails Lc 38.1 Non-text elements, placeholder text
#DFA2F3 text on black 10.59:1 AAA Lc -64.2 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F5E3FB

    oklch(93.7% 0.037 317.7)

  3. Step 200

    200

    #EDCBF9

    oklch(88.5% 0.072 317.2)

  4. Step 300

    300 (this color)

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  5. Step 400

    400

    #D36FF3

    oklch(70.7% 0.206 317.4)

  6. Step 500

    500

    #C63AEE

    oklch(63.1% 0.263 317.4)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #640D7B

    oklch(37.7% 0.172 317.4)

  11. Step 950

    950

    #3B0D48

    oklch(27% 0.109 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2F3 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)#97B4F60.106
Deuteranopia (no green cones)#A5BAF00.098
Tritanopia (no blue cones)#DFACC00.085
Achromatopsia (no color)#B8B8B80.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2F3

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  • #94D07D

    #94D07D

    oklch(79.7% 0.128 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2F3

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  • #B9B2FF

    #B9B2FF

    oklch(79.8% 0.108 287.8)

  • #F99ACC

    #F99ACC

    oklch(79.7% 0.128 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2F3

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  • #C6C359

    #C6C359

    oklch(79.8% 0.129 107.5)

  • #59D7AC

    #59D7AC

    oklch(79.7% 0.129 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2F3

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  • #EBB254

    #EBB254

    oklch(79.9% 0.129 77.5)

  • #2BD6DA

    #2BD6DA

    oklch(79.8% 0.129 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2F3

    #DFA2F3

    oklch(79.7% 0.129 317.6)

  • #FFA373

    #FFA373

    oklch(79.8% 0.126 47.9)

  • #94D07D

    #94D07D

    oklch(79.7% 0.128 137.4)

  • #4FCDFD

    #4FCDFD

    oklch(79.8% 0.128 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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