#D99DEF

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.13 316.7), rgb(217, 157, 239).

Aa

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

About this color

#D99DEF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.130 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.026 away. Black text reads best on it, at 10.01:1.

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

Values

HEX#D99DEF
RGBrgb(217, 157, 239)
HSLhsl(284, 72%, 78%)
OKLCHoklch(78.1% 0.13 316.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 #D99DEF 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #D99DEF 10.01:1 AAA Lc 63.1 Content text, not long reading
#D99DEF text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#D99DEF text on black 10.01:1 AAA Lc -61.4 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)

    #D99DEF

    oklch(78.1% 0.13 316.7)

  5. Step 400

    400

    #D26FF5

    oklch(70.7% 0.208 316.5)

  6. Step 500

    500

    #C539F0

    oklch(63% 0.265 316.7)

  7. Step 600

    600

    #AE00D9

    oklch(55.7% 0.272 316.6)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790098

    oklch(42.7% 0.209 316.6)

  10. Step 900

    900

    #640C7C

    oklch(37.7% 0.173 317)

  11. Step 950

    950

    #3B0D49

    oklch(27.1% 0.11 317)

Export this scale for Tailwind in the Tailwind colors tool

#D99DEF 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)#91AFF20.106
Deuteranopia (no green cones)#9FB5EC0.098
Tritanopia (no blue cones)#D9A7BB0.087
Achromatopsia (no color)#B3B3B30.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99DEF

    #D99DEF

    oklch(78.1% 0.13 316.7)

  • #90CB76

    #90CB76

    oklch(78.1% 0.13 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99DEF

    #D99DEF

    oklch(78.1% 0.13 316.7)

  • #B2ACFF

    #B2ACFF

    oklch(78.1% 0.117 286.7)

  • #F495C8

    #F495C8

    oklch(78.2% 0.129 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #D99DEF

    #D99DEF

    oklch(78.1% 0.13 316.7)

  • #C2BD51

    #C2BD51

    oklch(78.1% 0.13 106.6)

  • #54D2A6

    #54D2A6

    oklch(78.1% 0.129 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99DEF

    #D99DEF

    oklch(78.1% 0.13 316.7)

  • #E6AC4D

    #E6AC4D

    oklch(78.1% 0.13 77)

  • #1BD1D4

    #1BD1D4

    oklch(78.2% 0.13 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99DEF

    #D99DEF

    oklch(78.1% 0.13 316.7)

  • #FB9C6D

    #FB9C6D

    oklch(78% 0.13 46.6)

  • #90CB76

    #90CB76

    oklch(78.1% 0.13 136.6)

  • #45C8F8

    #45C8F8

    oklch(78.2% 0.13 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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