#D9AFFE

Closest named color: Light Violet (#D6B4FC). oklch(81.9% 0.117 308.3), rgb(217, 175, 254).

Aa

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

About this color

#D9AFFE is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.117 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.014 away. Black text reads best on it, at 11.51:1.

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

Values

HEX#D9AFFE
RGBrgb(217, 175, 254)
HSLhsl(272, 98%, 84%)
OKLCHoklch(81.9% 0.117 308.3)

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

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  5. Step 400

    400

    #C17BF8

    oklch(70.7% 0.186 308.2)

  6. Step 500

    500

    #B250F5

    oklch(63.1% 0.239 308.2)

  7. Step 600

    600

    #9E25E3

    oklch(55.5% 0.26 308.4)

  8. Step 700

    700

    #8711C6

    oklch(49.1% 0.242 308.1)

  9. Step 800

    800

    #6E17A0

    oklch(42.8% 0.2 308.3)

  10. Step 900

    900

    #591E7F

    oklch(37.8% 0.156 308.3)

  11. Step 950

    950

    #34144A

    oklch(27% 0.098 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#D9AFFE 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.082
Deuteranopia (no green cones)#A9C0FC0.076
Tritanopia (no blue cones)#D4BACC0.085
Achromatopsia (no color)#C0C0C00.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9AFFE

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  • #ADD27F

    #ADD27F

    oklch(81.8% 0.116 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9AFFE

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  • #B6BEFF

    #B6BEFF

    oklch(81.8% 0.092 278.7)

  • #F5A6DE

    #F5A6DE

    oklch(81.9% 0.117 338)

Open the analogous palette in the generator

Split complementary

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

  • #D9AFFE

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  • #D7C567

    #D7C567

    oklch(81.9% 0.117 98.7)

  • #7DDBA7

    #7DDBA7

    oklch(81.9% 0.117 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9AFFE

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  • #F6B56D

    #F6B56D

    oklch(81.9% 0.117 67.8)

  • #56DCD2

    #56DCD2

    oklch(81.9% 0.117 188.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9AFFE

    #D9AFFE

    oklch(81.9% 0.117 308.3)

  • #FFAC92

    #FFAC92

    oklch(81.9% 0.105 38.1)

  • #ADD27F

    #ADD27F

    oklch(81.8% 0.116 128.3)

  • #5BD6F6

    #5BD6F6

    oklch(81.9% 0.117 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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