#DFA2FC

Closest named color: Lilac (#CEA2FD). oklch(80.1% 0.139 314.4), rgb(223, 162, 252).

Aa

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

About this color

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

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

Values

HEX#DFA2FC
RGBrgb(223, 162, 252)
HSLhsl(281, 94%, 81%)
OKLCHoklch(80.1% 0.139 314.4)

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 #DFA2FC 1.96:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #DFA2FC 10.71:1 AAA Lc 66.3 Content text, not long reading
#DFA2FC text on white 1.96:1 Fails Lc 37.6 Non-text elements, placeholder text
#DFA2FC text on black 10.71:1 AAA Lc -64.8 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

    #F4E2FD

    oklch(93.5% 0.041 314.6)

  3. Step 200

    200

    #ECCBFD

    oklch(88.6% 0.076 314.1)

  4. Step 300

    300 (this color)

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  5. Step 400

    400

    #D26BFE

    oklch(70.6% 0.223 314.5)

  6. Step 500

    500

    #C52EFC

    oklch(63.1% 0.284 314.4)

  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

    #640183

    oklch(37.8% 0.186 314.6)

  11. Step 950

    950

    #3A0A4D

    oklch(27% 0.117 313.8)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2FC 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)#93B6FF0.111
Deuteranopia (no green cones)#A2BBF90.102
Tritanopia (no blue cones)#DDAEC40.095
Achromatopsia (no color)#B9B9B90.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2FC

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  • #98D273

    #98D273

    oklch(80.2% 0.139 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2FC

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  • #B6B5FF

    #B6B5FF

    oklch(80.1% 0.104 284.4)

  • #FD98D3

    #FD98D3

    oklch(80.1% 0.139 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2FC

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  • #CDC24B

    #CDC24B

    oklch(80.1% 0.139 104)

  • #54DAA7

    #54DAA7

    oklch(80.1% 0.139 164.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2FC

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  • #F2B04B

    #F2B04B

    oklch(80.1% 0.138 74.8)

  • #00D9D8

    #00D9D8

    oklch(80.1% 0.137 194.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2FC

    #DFA2FC

    oklch(80.1% 0.139 314.4)

  • #FFA47C

    #FFA47C

    oklch(80.1% 0.121 44.3)

  • #98D273

    #98D273

    oklch(80.2% 0.139 134.3)

  • #3DD0FF

    #3DD0FF

    oklch(80.1% 0.136 224.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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