#D99DEE

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.129 317.1), rgb(217, 157, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.00:1
White text2.09:1

Values

HEX#D99DEE
RGBrgb(217, 157, 238)
HSLhsl(284, 70%, 77%)
OKLCHoklch(78.1% 0.129 317.1)

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 #D99DEE 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #D99DEE 10.00:1 AAA Lc 63.0 Content text, not long reading
#D99DEE text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#D99DEE text on black 10.00:1 AAA Lc -61.3 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FB

    oklch(93.6% 0.037 316.2)

  3. Step 200

    200

    #EDCBF9

    oklch(88.5% 0.072 317.2)

  4. Step 300

    300 (this color)

    #D99DEE

    oklch(78.1% 0.129 317.1)

  5. Step 400

    400

    #D36FF3

    oklch(70.7% 0.206 317.4)

  6. Step 500

    500

    #C63AEF

    oklch(63.1% 0.264 317.1)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #640E7B

    oklch(37.7% 0.171 317.3)

  11. Step 950

    950

    #3B0D48

    oklch(27% 0.109 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#D99DEE 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)#92AFF10.105
Deuteranopia (no green cones)#A0B5EB0.097
Tritanopia (no blue cones)#D9A7BB0.085
Achromatopsia (no color)#B3B3B30.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99DEE

    #D99DEE

    oklch(78.1% 0.129 317.1)

  • #90CB77

    #90CB77

    oklch(78.2% 0.129 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99DEE

    #D99DEE

    oklch(78.1% 0.129 317.1)

  • #B3ACFF

    #B3ACFF

    oklch(78.2% 0.117 287.2)

  • #F395C7

    #F395C7

    oklch(78.1% 0.128 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #D99DEE

    #D99DEE

    oklch(78.1% 0.129 317.1)

  • #C1BD53

    #C1BD53

    oklch(78.1% 0.128 107)

  • #54D2A6

    #54D2A6

    oklch(78.1% 0.129 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99DEE

    #D99DEE

    oklch(78.1% 0.129 317.1)

  • #E6AC4E

    #E6AC4E

    oklch(78.1% 0.129 76.8)

  • #1FD0D4

    #1FD0D4

    oklch(78% 0.129 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99DEE

    #D99DEE

    oklch(78.1% 0.129 317.1)

  • #FB9D6D

    #FB9D6D

    oklch(78.2% 0.129 47.3)

  • #90CB77

    #90CB77

    oklch(78.2% 0.129 136.9)

  • #47C8F7

    #47C8F7

    oklch(78.2% 0.129 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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