#DFA2F8

Closest named color: Lilac (#CEA2FD). oklch(80% 0.134 315.8), rgb(223, 162, 248).

Aa

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

About this color

#DFA2F8 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.134 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.027 away. Black text reads best on it, at 10.66:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.66:1
White text1.96:1

Values

HEX#DFA2F8
RGBrgb(223, 162, 248)
HSLhsl(283, 86%, 80%)
OKLCHoklch(80% 0.134 315.8)

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 #DFA2F8 1.96:1 Fails Lc -42.2 Non-text elements, placeholder text
Black text on #DFA2F8 10.66:1 AAA Lc 66.1 Content text, not long reading
#DFA2F8 text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#DFA2F8 text on black 10.66:1 AAA Lc -64.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

    #F4E2FC

    oklch(93.5% 0.04 315.6)

  3. Step 200

    200

    #EDCBFB

    oklch(88.6% 0.074 316)

  4. Step 300

    300 (this color)

    #DFA2F8

    oklch(80% 0.134 315.8)

  5. Step 400

    400

    #D36DF9

    oklch(70.7% 0.215 315.9)

  6. Step 500

    500

    #C634F6

    oklch(63.2% 0.275 315.8)

  7. Step 600

    600

    #AD00DB

    oklch(55.7% 0.273 315.8)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #780099

    oklch(42.6% 0.209 315.8)

  10. Step 900

    900

    #64077F

    oklch(37.7% 0.179 316)

  11. Step 950

    950

    #3B0B4B

    oklch(27.1% 0.114 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2F8 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)#95B5FB0.109
Deuteranopia (no green cones)#A3BBF50.101
Tritanopia (no blue cones)#DEADC20.090
Achromatopsia (no color)#B9B9B90.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2F8

    #DFA2F8

    oklch(80% 0.134 315.8)

  • #96D178

    #96D178

    oklch(79.9% 0.134 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2F8

    #DFA2F8

    oklch(80% 0.134 315.8)

  • #B7B4FF

    #B7B4FF

    oklch(80% 0.105 285.6)

  • #FB99D0

    #FB99D0

    oklch(79.9% 0.134 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2F8

    #DFA2F8

    oklch(80% 0.134 315.8)

  • #C9C351

    #C9C351

    oklch(80% 0.135 106.2)

  • #57D9A9

    #57D9A9

    oklch(80% 0.135 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2F8

    #DFA2F8

    oklch(80% 0.134 315.8)

  • #EFB14F

    #EFB14F

    oklch(80% 0.134 76)

  • #14D8D9

    #14D8D9

    oklch(80% 0.134 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2F8

    #DFA2F8

    oklch(80% 0.134 315.8)

  • #FFA478

    #FFA478

    oklch(80% 0.123 46.3)

  • #96D178

    #96D178

    oklch(79.9% 0.134 135.8)

  • #43CFFF

    #43CFFF

    oklch(80% 0.134 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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