#DFA2FA

Closest named color: Lilac (#CEA2FD). oklch(80% 0.137 315.1), rgb(223, 162, 250).

Aa

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

About this color

#DFA2FA is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.137 and its hue 315°. 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.68:1.

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

Values

HEX#DFA2FA
RGBrgb(223, 162, 250)
HSLhsl(282, 90%, 81%)
OKLCHoklch(80% 0.137 315.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 #DFA2FA 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #DFA2FA 10.68:1 AAA Lc 66.2 Content text, not long reading
#DFA2FA text on white 1.96:1 Fails Lc 37.7 Non-text elements, placeholder text
#DFA2FA text on black 10.68:1 AAA Lc -64.7 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

    #ECCBFC

    oklch(88.5% 0.075 314.7)

  4. Step 300

    300 (this color)

    #DFA2FA

    oklch(80% 0.137 315.1)

  5. Step 400

    400

    #D26CFC

    oklch(70.7% 0.219 314.9)

  6. Step 500

    500

    #C531F9

    oklch(63% 0.279 314.9)

  7. Step 600

    600

    #AC00DD

    oklch(55.7% 0.274 315.1)

  8. Step 700

    700

    #9100BB

    oklch(49.1% 0.242 315)

  9. Step 800

    800

    #78009B

    oklch(42.8% 0.211 315.2)

  10. Step 900

    900

    #640481

    oklch(37.7% 0.182 315.3)

  11. Step 950

    950

    #3A0A4C

    oklch(26.9% 0.116 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFA2FA 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)#94B5FD0.110
Deuteranopia (no green cones)#A3BBF70.101
Tritanopia (no blue cones)#DEADC30.092
Achromatopsia (no color)#B9B9B90.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA2FA

    #DFA2FA

    oklch(80% 0.137 315.1)

  • #97D175

    #97D175

    oklch(79.9% 0.136 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA2FA

    #DFA2FA

    oklch(80% 0.137 315.1)

  • #B7B4FF

    #B7B4FF

    oklch(80% 0.105 285.6)

  • #FC99D2

    #FC99D2

    oklch(80.1% 0.136 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #DFA2FA

    #DFA2FA

    oklch(80% 0.137 315.1)

  • #CBC24E

    #CBC24E

    oklch(79.9% 0.136 104.9)

  • #55D9A8

    #55D9A8

    oklch(79.9% 0.136 165.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA2FA

    #DFA2FA

    oklch(80% 0.137 315.1)

  • #F1B04D

    #F1B04D

    oklch(80% 0.136 74.8)

  • #00D9D9

    #00D9D9

    oklch(80.2% 0.137 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA2FA

    #DFA2FA

    oklch(80% 0.137 315.1)

  • #FFA47A

    #FFA47A

    oklch(80.1% 0.122 45.3)

  • #97D175

    #97D175

    oklch(79.9% 0.136 134.8)

  • #40CFFF

    #40CFFF

    oklch(80% 0.135 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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