#D99FF4

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.132 314.6), rgb(217, 159, 244).

Aa

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

About this color

#D99FF4 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.132 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.021 away. Black text reads best on it, at 10.21:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.21:1
White text2.05:1

Values

HEX#D99FF4
RGBrgb(217, 159, 244)
HSLhsl(281, 79%, 79%)
OKLCHoklch(78.7% 0.132 314.6)

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 #D99FF4 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #D99FF4 10.21:1 AAA Lc 64.0 Content text, not long reading
#D99FF4 text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#D99FF4 text on black 10.21:1 AAA Lc -62.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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E3FC

    oklch(93.7% 0.038 315.1)

  3. Step 200

    200

    #ECCBFB

    oklch(88.5% 0.074 315.2)

  4. Step 300

    300 (this color)

    #D99FF4

    oklch(78.7% 0.132 314.6)

  5. Step 400

    400

    #D06FF9

    oklch(70.7% 0.211 314.8)

  6. Step 500

    500

    #C339F6

    oklch(63.1% 0.27 314.7)

  7. Step 600

    600

    #AB00DE

    oklch(55.6% 0.275 314.5)

  8. Step 700

    700

    #9100BC

    oklch(49.2% 0.243 314.7)

  9. Step 800

    800

    #77009B

    oklch(42.6% 0.21 314.7)

  10. Step 900

    900

    #620C80

    oklch(37.7% 0.176 314.4)

  11. Step 950

    950

    #3A0D4B

    oklch(27.1% 0.111 314.7)

Export this scale for Tailwind in the Tailwind colors tool

#D99FF4 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)#91B1F70.105
Deuteranopia (no green cones)#9FB6F10.096
Tritanopia (no blue cones)#D7AABE0.091
Achromatopsia (no color)#B5B5B50.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99FF4

    #D99FF4

    oklch(78.7% 0.132 314.6)

  • #95CC73

    #95CC73

    oklch(78.6% 0.132 134.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99FF4

    #D99FF4

    oklch(78.7% 0.132 314.6)

  • #B1AFFF

    #B1AFFF

    oklch(78.6% 0.113 284.6)

  • #F596CD

    #F596CD

    oklch(78.7% 0.132 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #D99FF4

    #D99FF4

    oklch(78.7% 0.132 314.6)

  • #C7BE4F

    #C7BE4F

    oklch(78.8% 0.132 104.7)

  • #57D4A4

    #57D4A4

    oklch(78.7% 0.132 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99FF4

    #D99FF4

    oklch(78.7% 0.132 314.6)

  • #EBAC4E

    #EBAC4E

    oklch(78.7% 0.132 74.5)

  • #15D3D3

    #15D3D3

    oklch(78.6% 0.132 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99FF4

    #D99FF4

    oklch(78.7% 0.132 314.6)

  • #FF9D71

    #FF9D71

    oklch(78.7% 0.131 44.6)

  • #95CC73

    #95CC73

    oklch(78.6% 0.132 134.4)

  • #3FCBF9

    #3FCBF9

    oklch(78.8% 0.132 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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