#D99BF7

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.142 314.2), rgb(217, 155, 247).

Aa

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

About this color

#D99BF7 is a light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.142 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.022 away. Black text reads best on it, at 9.98:1.

Hue familyPurples
Lightnesslight (78%)
Chromavivid (0.142)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.98:1
White text2.10:1

Values

HEX#D99BF7
RGBrgb(217, 155, 247)
HSLhsl(280, 85%, 79%)
OKLCHoklch(78.1% 0.142 314.2)

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 #D99BF7 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #D99BF7 9.98:1 AAA Lc 62.9 Content text, not long reading
#D99BF7 text on white 2.10:1 Fails Lc 41.0 Non-text elements, placeholder text
#D99BF7 text on black 9.98: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

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FE

    oklch(93.6% 0.042 313.7)

  3. Step 200

    200

    #EDCAFE

    oklch(88.5% 0.079 314.6)

  4. Step 300

    300 (this color)

    #D99BF7

    oklch(78.1% 0.142 314.2)

  5. Step 400

    400

    #D26BFF

    oklch(70.7% 0.224 314.3)

  6. Step 500

    500

    #C628FF

    oklch(63.1% 0.291 314.2)

  7. Step 600

    600

    #AB00DF

    oklch(55.7% 0.275 314.3)

  8. Step 700

    700

    #9000BD

    oklch(49.1% 0.243 314.1)

  9. Step 800

    800

    #77009C

    oklch(42.7% 0.211 314.4)

  10. Step 900

    900

    #640084

    oklch(37.8% 0.187 314.3)

  11. Step 950

    950

    #3B084E

    oklch(27.1% 0.12 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#D99BF7 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)#8BAFFA0.114
Deuteranopia (no green cones)#9AB4F40.104
Tritanopia (no blue cones)#D7A7BE0.096
Achromatopsia (no color)#B3B3B30.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

  • #91CC6A

    #91CC6A

    oklch(78.3% 0.143 134.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

  • #AFAEFF

    #AFAEFF

    oklch(78.2% 0.115 284)

  • #F791CE

    #F791CE

    oklch(78.2% 0.142 344.2)

Open the analogous palette in the generator

Split complementary

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

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

  • #C7BC3F

    #C7BC3F

    oklch(78.2% 0.142 104.3)

  • #48D4A0

    #48D4A0

    oklch(78.2% 0.142 164.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

  • #EDA93F

    #EDA93F

    oklch(78.2% 0.142 74.4)

  • #00D2D1

    #00D2D1

    oklch(78.2% 0.134 194.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99BF7

    #D99BF7

    oklch(78.1% 0.142 314.2)

  • #FF9A6D

    #FF9A6D

    oklch(78.2% 0.135 44.3)

  • #91CC6A

    #91CC6A

    oklch(78.3% 0.143 134.2)

  • #1FCAFB

    #1FCAFB

    oklch(78.1% 0.142 224.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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