#D9A5FA

Closest named color: Lilac (#CEA2FD). oklch(80% 0.129 311.6), rgb(217, 165, 250).

Aa

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

About this color

#D9A5FA is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.129 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.020 away. Black text reads best on it, at 10.71:1.

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

Values

HEX#D9A5FA
RGBrgb(217, 165, 250)
HSLhsl(277, 89%, 81%)
OKLCHoklch(80% 0.129 311.6)

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 #D9A5FA 1.96:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #D9A5FA 10.71:1 AAA Lc 66.3 Content text, not long reading
#D9A5FA text on white 1.96:1 Fails Lc 37.6 Non-text elements, placeholder text
#D9A5FA text on black 10.71:1 AAA Lc -64.8 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FD

    oklch(93.5% 0.038 311.1)

  3. Step 200

    200

    #E9CCFC

    oklch(88.5% 0.072 311.9)

  4. Step 300

    300 (this color)

    #D9A5FA

    oklch(80% 0.129 311.6)

  5. Step 400

    400

    #CA73FC

    oklch(70.7% 0.206 311.6)

  6. Step 500

    500

    #BC40F9

    oklch(63% 0.263 311.6)

  7. Step 600

    600

    #A700E5

    oklch(55.6% 0.279 311.7)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #5F1281

    oklch(37.7% 0.172 312)

  11. Step 950

    950

    #370F4C

    oklch(27% 0.109 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#D9A5FA 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)#96B6FD0.097
Deuteranopia (no green cones)#A2BAF70.090
Tritanopia (no blue cones)#D6B1C40.092
Achromatopsia (no color)#B9B9B90.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9A5FA

    #D9A5FA

    oklch(80% 0.129 311.6)

  • #9FCF75

    #9FCF75

    oklch(80% 0.129 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9A5FA

    #D9A5FA

    oklch(80% 0.129 311.6)

  • #B2B6FF

    #B2B6FF

    oklch(80% 0.103 281.4)

  • #F69CD5

    #F69CD5

    oklch(80% 0.128 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #D9A5FA

    #D9A5FA

    oklch(80% 0.129 311.6)

  • #CFC055

    #CFC055

    oklch(79.9% 0.129 101.4)

  • #66D7A3

    #66D7A3

    oklch(79.9% 0.129 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9A5FA

    #D9A5FA

    oklch(80% 0.129 311.6)

  • #F1AF58

    #F1AF58

    oklch(80% 0.129 71.6)

  • #30D7D2

    #30D7D2

    oklch(79.8% 0.129 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9A5FA

    #D9A5FA

    oklch(80% 0.129 311.6)

  • #FFA380

    #FFA380

    oklch(80% 0.12 41.5)

  • #9FCF75

    #9FCF75

    oklch(80% 0.129 131.7)

  • #45D0F8

    #45D0F8

    oklch(80% 0.128 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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