#D9AFFF

Closest named color: Light Violet (#D6B4FC). oklch(81.9% 0.118 308), rgb(217, 175, 255).

Aa

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

About this color

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

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

Values

HEX#D9AFFF
RGBrgb(217, 175, 255)
HSLhsl(272, 100%, 84%)
OKLCHoklch(81.9% 0.118 308)

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 #D9AFFF 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #D9AFFF 11.52:1 AAA Lc 69.9 Content text, not long reading
#D9AFFF text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#D9AFFF text on black 11.52:1 AAA Lc -68.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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FC

    oklch(93.5% 0.034 308.1)

  3. Step 200

    200

    #E5CEFB

    oklch(88.5% 0.066 308.1)

  4. Step 300

    300 (this color)

    #D9AFFF

    oklch(81.9% 0.118 308)

  5. Step 400

    400

    #C17BFA

    oklch(70.8% 0.189 307.7)

  6. Step 500

    500

    #B24FF6

    oklch(63.1% 0.241 308.1)

  7. Step 600

    600

    #9E23E5

    oklch(55.6% 0.263 308)

  8. Step 700

    700

    #870EC7

    oklch(49.1% 0.244 307.9)

  9. Step 800

    800

    #6E15A1

    oklch(42.7% 0.202 308.1)

  10. Step 900

    900

    #591D80

    oklch(37.7% 0.158 308)

  11. Step 950

    950

    #34134B

    oklch(27% 0.101 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#D9AFFF 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)#A0BEFF0.083
Deuteranopia (no green cones)#A9C0FD0.076
Tritanopia (no blue cones)#D4BACC0.087
Achromatopsia (no color)#C0C0C00.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9AFFF

    #D9AFFF

    oklch(81.9% 0.118 308)

  • #AED37E

    #AED37E

    oklch(82% 0.118 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9AFFF

    #D9AFFF

    oklch(81.9% 0.118 308)

  • #B5BFFF

    #B5BFFF

    oklch(82% 0.091 277.3)

  • #F6A6DF

    #F6A6DF

    oklch(82% 0.118 337.8)

Open the analogous palette in the generator

Split complementary

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

  • #D9AFFF

    #D9AFFF

    oklch(81.9% 0.118 308)

  • #D8C566

    #D8C566

    oklch(82% 0.118 98.2)

  • #7DDBA6

    #7DDBA6

    oklch(81.9% 0.118 157.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9AFFF

    #D9AFFF

    oklch(81.9% 0.118 308)

  • #F6B56C

    #F6B56C

    oklch(81.9% 0.118 68.1)

  • #54DCD2

    #54DCD2

    oklch(81.8% 0.118 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9AFFF

    #D9AFFF

    oklch(81.9% 0.118 308)

  • #FFAC92

    #FFAC92

    oklch(81.9% 0.105 38.1)

  • #AED37E

    #AED37E

    oklch(82% 0.118 128)

  • #59D6F7

    #59D6F7

    oklch(81.9% 0.119 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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