#D99FFA

Closest named color: Lilac (#CEA2FD). oklch(78.9% 0.139 312.7), rgb(217, 159, 250).

Aa

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

About this color

#D99FFA is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.139 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.018 away. Black text reads best on it, at 10.29:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.29:1
White text2.04:1

Values

HEX#D99FFA
RGBrgb(217, 159, 250)
HSLhsl(278, 90%, 80%)
OKLCHoklch(78.9% 0.139 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 #D99FFA 2.04:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #D99FFA 10.29:1 AAA Lc 64.3 Content text, not long reading
#D99FFA text on white 2.04:1 Fails Lc 39.6 Non-text elements, placeholder text
#D99FFA text on black 10.29:1 AAA Lc -62.7 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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F3E3FE

    oklch(93.7% 0.04 311.8)

  3. Step 200

    200

    #EBCBFE

    oklch(88.5% 0.077 312.8)

  4. Step 300

    300 (this color)

    #D99FFA

    oklch(78.9% 0.139 312.7)

  5. Step 400

    400

    #CE6FFF

    oklch(70.8% 0.216 312.6)

  6. Step 500

    500

    #C232FF

    oklch(63.1% 0.283 312.7)

  7. Step 600

    600

    #A800E3

    oklch(55.6% 0.277 312.4)

  8. Step 700

    700

    #8E00C0

    oklch(49.1% 0.245 312.6)

  9. Step 800

    800

    #75009F

    oklch(42.7% 0.213 312.6)

  10. Step 900

    900

    #620385

    oklch(37.7% 0.185 312.8)

  11. Step 950

    950

    #390A4E

    oklch(26.9% 0.118 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#D99FFA 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)#8FB2FD0.108
Deuteranopia (no green cones)#9DB7F70.099
Tritanopia (no blue cones)#D6ABC10.096
Achromatopsia (no color)#B5B5B50.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99FFA

    #D99FFA

    oklch(78.9% 0.139 312.7)

  • #97CD6D

    #97CD6D

    oklch(78.9% 0.139 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99FFA

    #D99FFA

    oklch(78.9% 0.139 312.7)

  • #B0B1FF

    #B0B1FF

    oklch(78.9% 0.11 283)

  • #F795D2

    #F795D2

    oklch(78.9% 0.138 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #D99FFA

    #D99FFA

    oklch(78.9% 0.139 312.7)

  • #CBBD45

    #CBBD45

    oklch(78.8% 0.139 102.6)

  • #54D6A0

    #54D6A0

    oklch(79% 0.139 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99FFA

    #D99FFA

    oklch(78.9% 0.139 312.7)

  • #F0AB48

    #F0AB48

    oklch(79% 0.139 72.8)

  • #00D5D2

    #00D5D2

    oklch(78.9% 0.135 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99FFA

    #D99FFA

    oklch(78.9% 0.139 312.7)

  • #FF9E76

    #FF9E76

    oklch(79% 0.128 43)

  • #97CD6D

    #97CD6D

    oklch(78.9% 0.139 132.8)

  • #2ACDFB

    #2ACDFB

    oklch(78.9% 0.139 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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