#D99EF7

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.137 313.8), rgb(217, 158, 247).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.18:1
White text2.06:1

Values

HEX#D99EF7
RGBrgb(217, 158, 247)
HSLhsl(280, 85%, 79%)
OKLCHoklch(78.6% 0.137 313.8)

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 #D99EF7 2.06:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #D99EF7 10.18:1 AAA Lc 63.8 Content text, not long reading
#D99EF7 text on white 2.06:1 Fails Lc 40.1 Non-text elements, placeholder text
#D99EF7 text on black 10.18:1 AAA Lc -62.2 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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E3FD

    oklch(93.7% 0.039 314.1)

  3. Step 200

    200

    #ECCBFD

    oklch(88.6% 0.076 314.1)

  4. Step 300

    300 (this color)

    #D99EF7

    oklch(78.6% 0.137 313.8)

  5. Step 400

    400

    #D06DFE

    oklch(70.7% 0.219 313.7)

  6. Step 500

    500

    #C332FC

    oklch(63.1% 0.28 313.7)

  7. Step 600

    600

    #AA00E0

    oklch(55.6% 0.276 313.7)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009D

    oklch(42.7% 0.212 313.7)

  10. Step 900

    900

    #630583

    oklch(37.8% 0.183 314)

  11. Step 950

    950

    #3A0B4D

    oklch(27.1% 0.116 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#D99EF7 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)#8FB1FA0.108
Deuteranopia (no green cones)#9DB6F40.100
Tritanopia (no blue cones)#D7AABF0.095
Achromatopsia (no color)#B4B4B40.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99EF7

    #D99EF7

    oklch(78.6% 0.137 313.8)

  • #95CC6F

    #95CC6F

    oklch(78.6% 0.136 133.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99EF7

    #D99EF7

    oklch(78.6% 0.137 313.8)

  • #B0B0FF

    #B0B0FF

    oklch(78.7% 0.112 283.5)

  • #F694CF

    #F694CF

    oklch(78.6% 0.137 343.8)

Open the analogous palette in the generator

Split complementary

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

  • #D99EF7

    #D99EF7

    oklch(78.6% 0.137 313.8)

  • #C9BD47

    #C9BD47

    oklch(78.6% 0.137 103.5)

  • #53D5A1

    #53D5A1

    oklch(78.7% 0.138 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99EF7

    #D99EF7

    oklch(78.6% 0.137 313.8)

  • #EEAB48

    #EEAB48

    oklch(78.7% 0.137 73.7)

  • #00D4D2

    #00D4D2

    oklch(78.7% 0.135 193.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99EF7

    #D99EF7

    oklch(78.6% 0.137 313.8)

  • #FF9C72

    #FF9C72

    oklch(78.6% 0.131 43.5)

  • #95CC6F

    #95CC6F

    oklch(78.6% 0.136 133.7)

  • #31CBFA

    #31CBFA

    oklch(78.5% 0.137 224.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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