#D9A2FC

Closest named color: Lilac (#CEA2FD). oklch(79.5% 0.136 311.5), rgb(217, 162, 252).

Aa

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

About this color

#D9A2FC is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.136 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.017 away. Black text reads best on it, at 10.52:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.52:1
White text1.99:1

Values

HEX#D9A2FC
RGBrgb(217, 162, 252)
HSLhsl(277, 94%, 81%)
OKLCHoklch(79.5% 0.136 311.5)

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 #D9A2FC 1.99:1 Fails Lc -42.9 Non-text elements, placeholder text
Black text on #D9A2FC 10.52:1 AAA Lc 65.4 Content text, not long reading
#D9A2FC text on white 1.99:1 Fails Lc 38.5 Non-text elements, placeholder text
#D9A2FC text on black 10.52:1 AAA Lc -63.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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F3E3FE

    oklch(93.7% 0.04 311.8)

  3. Step 200

    200

    #EACBFE

    oklch(88.4% 0.076 312)

  4. Step 300

    300 (this color)

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  5. Step 400

    400

    #CB71FF

    oklch(70.7% 0.212 311.4)

  6. Step 500

    500

    #BF38FF

    oklch(63.2% 0.277 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

    #600985

    oklch(37.7% 0.181 311.5)

  11. Step 950

    950

    #380C4E

    oklch(27% 0.115 311.3)

Export this scale for Tailwind in the Tailwind colors tool

#D9A2FC 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)#92B5FF0.104
Deuteranopia (no green cones)#9EB9F90.096
Tritanopia (no blue cones)#D6AEC40.095
Achromatopsia (no color)#B7B7B70.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9A2FC

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  • #9CCE6F

    #9CCE6F

    oklch(79.5% 0.135 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9A2FC

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  • #B1B4FF

    #B1B4FF

    oklch(79.5% 0.106 281.9)

  • #F798D5

    #F798D5

    oklch(79.5% 0.135 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #D9A2FC

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  • #CFBF4A

    #CFBF4A

    oklch(79.6% 0.137 101.5)

  • #5CD7A0

    #5CD7A0

    oklch(79.5% 0.137 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9A2FC

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  • #F2AC4E

    #F2AC4E

    oklch(79.4% 0.136 71.4)

  • #05D7D2

    #05D7D2

    oklch(79.5% 0.136 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9A2FC

    #D9A2FC

    oklch(79.5% 0.136 311.5)

  • #FFA17D

    #FFA17D

    oklch(79.6% 0.123 41.6)

  • #9CCE6F

    #9CCE6F

    oklch(79.5% 0.135 131.6)

  • #32CFFA

    #32CFFA

    oklch(79.5% 0.136 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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