#DFAFFB

Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.116 312.7), rgb(223, 175, 251).

Aa

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

About this color

#DFAFFB is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.116 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.017 away. Black text reads best on it, at 11.66:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.66:1
White text1.80:1

Values

HEX#DFAFFB
RGBrgb(223, 175, 251)
HSLhsl(278, 90%, 84%)
OKLCHoklch(82.3% 0.116 312.7)

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 #DFAFFB 1.80:1 Fails Lc -37.4 Non-text elements, placeholder text
Black text on #DFAFFB 11.66:1 AAA Lc 70.5 Content text, not long reading
#DFAFFB text on white 1.80:1 Fails Lc 33.3 Non-text elements, placeholder text
#DFAFFB text on black 11.66:1 AAA Lc -69.3 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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CDF8

    oklch(88.4% 0.065 312.9)

  4. Step 300

    300 (this color)

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  5. Step 400

    400

    #C879F2

    oklch(70.8% 0.185 312.7)

  6. Step 500

    500

    #B94DED

    oklch(63.1% 0.237 312.6)

  7. Step 600

    600

    #A522DB

    oklch(55.7% 0.257 312.7)

  8. Step 700

    700

    #8D0CBE

    oklch(49.1% 0.239 312.5)

  9. Step 800

    800

    #73149A

    oklch(42.8% 0.198 312.7)

  10. Step 900

    900

    #5D1C7A

    oklch(37.7% 0.154 312.9)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#DFAFFB 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)#A3BEFE0.087
Deuteranopia (no green cones)#ADC2F90.081
Tritanopia (no blue cones)#DDB9CA0.082
Achromatopsia (no color)#C1C1C10.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFAFFB

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  • #A8D586

    #A8D586

    oklch(82.2% 0.116 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFAFFB

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  • #BCBEFF

    #BCBEFF

    oklch(82.3% 0.091 282.8)

  • #F9A7D9

    #F9A7D9

    oklch(82.3% 0.115 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #DFAFFB

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  • #D3C86B

    #D3C86B

    oklch(82.2% 0.116 102.6)

  • #79DDAF

    #79DDAF

    oklch(82.4% 0.116 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFAFFB

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  • #F3B96C

    #F3B96C

    oklch(82.3% 0.116 72.8)

  • #57DDD9

    #57DDD9

    oklch(82.4% 0.116 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFAFFB

    #DFAFFB

    oklch(82.3% 0.116 312.7)

  • #FFAF8F

    #FFAF8F

    oklch(82.3% 0.104 42.6)

  • #A8D586

    #A8D586

    oklch(82.2% 0.116 132.6)

  • #63D6FB

    #63D6FB

    oklch(82.4% 0.116 222.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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