#DFA7F2

Closest named color: Pale Violet (#CEAEFA). oklch(80.6% 0.119 317.4), rgb(223, 167, 242).

Aa

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

About this color

#DFA7F2 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.119 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.029 away. Black text reads best on it, at 10.94:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.94:1
White text1.91:1

Values

HEX#DFA7F2
RGBrgb(223, 167, 242)
HSLhsl(285, 74%, 80%)
OKLCHoklch(80.6% 0.119 317.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 #DFA7F2 1.91:1 Fails Lc -40.9 Non-text elements, placeholder text
Black text on #DFA7F2 10.94:1 AAA Lc 67.3 Content text, not long reading
#DFA7F2 text on white 1.91:1 Fails Lc 36.6 Non-text elements, placeholder text
#DFA7F2 text on black 10.94:1 AAA Lc -65.9 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

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #EBCCF6

    oklch(88.4% 0.066 317.2)

  4. Step 300

    300 (this color)

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  5. Step 400

    400

    #D074ED

    oklch(70.7% 0.191 317.6)

  6. Step 500

    500

    #C246E7

    oklch(63.1% 0.243 317.3)

  7. Step 600

    600

    #AE0FD5

    oklch(55.7% 0.265 317.4)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #790695

    oklch(42.7% 0.204 317.5)

  10. Step 900

    900

    #621777

    oklch(37.8% 0.159 317.5)

  11. Step 950

    950

    #391046

    oklch(26.9% 0.101 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#DFA7F2 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)#9DB8F50.097
Deuteranopia (no green cones)#AABDF00.089
Tritanopia (no blue cones)#DFB0C20.079
Achromatopsia (no color)#BBBBBB0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFA7F2

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  • #9AD285

    #9AD285

    oklch(80.6% 0.119 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFA7F2

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  • #BBB5FF

    #BBB5FF

    oklch(80.5% 0.104 287.5)

  • #F89FCE

    #F89FCE

    oklch(80.5% 0.12 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #DFA7F2

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  • #C8C565

    #C8C565

    oklch(80.6% 0.119 107.2)

  • #68D8B0

    #68D8B0

    oklch(80.5% 0.119 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFA7F2

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  • #EAB561

    #EAB561

    oklch(80.5% 0.119 77.2)

  • #48D7DA

    #48D7DA

    oklch(80.6% 0.119 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFA7F2

    #DFA7F2

    oklch(80.6% 0.119 317.4)

  • #FEA77B

    #FEA77B

    oklch(80.5% 0.119 47.4)

  • #9AD285

    #9AD285

    oklch(80.6% 0.119 137.5)

  • #5FCFFB

    #5FCFFB

    oklch(80.7% 0.119 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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