#D99FFF

Closest named color: Lilac (#CEA2FD). oklch(79.2% 0.145 311.1), rgb(217, 159, 255).

Aa

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

About this color

#D99FFF is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.145 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.018 away. Black text reads best on it, at 10.35:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.145)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.35:1
White text2.02:1

Values

HEX#D99FFF
RGBrgb(217, 159, 255)
HSLhsl(276, 100%, 81%)
OKLCHoklch(79.2% 0.145 311.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 #D99FFF 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #D99FFF 10.35:1 AAA Lc 64.6 Content text, not long reading
#D99FFF text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#D99FFF text on black 10.35:1 AAA Lc -63.1 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

    #F3E3FF

    oklch(93.7% 0.041 310.9)

  3. Step 200

    200

    #EACBFF

    oklch(88.5% 0.078 311.5)

  4. Step 300

    300 (this color)

    #D99FFF

    oklch(79.2% 0.145 311.1)

  5. Step 400

    400

    #CA72FF

    oklch(70.7% 0.211 311)

  6. Step 500

    500

    #BE3AFF

    oklch(63.2% 0.275 311.3)

  7. Step 600

    600

    #A600E6

    oklch(55.5% 0.279 311.1)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7400A2

    oklch(42.8% 0.215 311.2)

  10. Step 900

    900

    #610088

    oklch(37.7% 0.189 311.3)

  11. Step 950

    950

    #390851

    oklch(27% 0.123 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#D99FFF 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)#8DB3FF0.111
Deuteranopia (no green cones)#9AB7FC0.102
Tritanopia (no blue cones)#D5ADC30.103
Achromatopsia (no color)#B6B6B60.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99FFF

    #D99FFF

    oklch(79.2% 0.145 311.1)

  • #9ACE67

    #9ACE67

    oklch(79.2% 0.144 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99FFF

    #D99FFF

    oklch(79.2% 0.145 311.1)

  • #AFB3FF

    #AFB3FF

    oklch(79.2% 0.108 281.3)

  • #F994D6

    #F994D6

    oklch(79.2% 0.145 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #D99FFF

    #D99FFF

    oklch(79.2% 0.145 311.1)

  • #CFBD3C

    #CFBD3C

    oklch(79.1% 0.145 101.2)

  • #52D79D

    #52D79D

    oklch(79.1% 0.144 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99FFF

    #D99FFF

    oklch(79.2% 0.145 311.1)

  • #F5AA42

    #F5AA42

    oklch(79.3% 0.145 71.3)

  • #00D6D0

    #00D6D0

    oklch(79.1% 0.136 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99FFF

    #D99FFF

    oklch(79.2% 0.145 311.1)

  • #FF9F7B

    #FF9F7B

    oklch(79.2% 0.125 41.2)

  • #9ACE67

    #9ACE67

    oklch(79.2% 0.144 131.1)

  • #05CFFC

    #05CFFC

    oklch(79.1% 0.145 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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