#D99CF1

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.134 316.1), rgb(217, 156, 241).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.97:1
White text2.10:1

Values

HEX#D99CF1
RGBrgb(217, 156, 241)
HSLhsl(283, 75%, 78%)
OKLCHoklch(78.1% 0.134 316.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 #D99CF1 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #D99CF1 9.97:1 AAA Lc 62.9 Content text, not long reading
#D99CF1 text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#D99CF1 text on black 9.97:1 AAA Lc -61.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

    #F4E2FC

    oklch(93.5% 0.04 315.6)

  3. Step 200

    200

    #EDCBFB

    oklch(88.6% 0.074 316)

  4. Step 300

    300 (this color)

    #D99CF1

    oklch(78.1% 0.134 316.1)

  5. Step 400

    400

    #D36DF8

    oklch(70.7% 0.214 316.2)

  6. Step 500

    500

    #C634F5

    oklch(63.1% 0.274 316)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #790099

    oklch(42.8% 0.209 316.2)

  10. Step 900

    900

    #64077F

    oklch(37.7% 0.179 316)

  11. Step 950

    950

    #3B0B4A

    oklch(27% 0.113 316.5)

Export this scale for Tailwind in the Tailwind colors tool

#D99CF1 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)#8FAFF40.109
Deuteranopia (no green cones)#9EB5EE0.101
Tritanopia (no blue cones)#D8A7BC0.090
Achromatopsia (no color)#B3B3B30.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99CF1

    #D99CF1

    oklch(78.1% 0.134 316.1)

  • #8FCB73

    #8FCB73

    oklch(78% 0.134 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99CF1

    #D99CF1

    oklch(78.1% 0.134 316.1)

  • #B1ACFF

    #B1ACFF

    oklch(78% 0.117 286.1)

  • #F593C9

    #F593C9

    oklch(78.1% 0.134 346.5)

Open the analogous palette in the generator

Split complementary

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

  • #D99CF1

    #D99CF1

    oklch(78.1% 0.134 316.1)

  • #C3BD4C

    #C3BD4C

    oklch(78.2% 0.134 106.2)

  • #4FD2A4

    #4FD2A4

    oklch(77.9% 0.133 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99CF1

    #D99CF1

    oklch(78.1% 0.134 316.1)

  • #E8AB48

    #E8AB48

    oklch(78.1% 0.134 76.4)

  • #00D1D3

    #00D1D3

    oklch(78% 0.133 196)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99CF1

    #D99CF1

    oklch(78.1% 0.134 316.1)

  • #FD9B6B

    #FD9B6B

    oklch(78.1% 0.133 46.3)

  • #8FCB73

    #8FCB73

    oklch(78% 0.134 136.3)

  • #3CC8F9

    #3CC8F9

    oklch(78% 0.134 226.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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