#D996EF

Closest named color: Baby Purple (#CA9BF7). oklch(77% 0.142 317.5), rgb(217, 150, 239).

Aa

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

About this color

#D996EF is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.142 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.026 away. Black text reads best on it, at 9.55:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.142)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.55:1
White text2.19:1

Values

HEX#D996EF
RGBrgb(217, 150, 239)
HSLhsl(285, 74%, 76%)
OKLCHoklch(77% 0.142 317.5)

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 #D996EF 2.19:1 Fails Lc -47.8 Large or bold text, headings
Black text on #D996EF 9.55:1 AAA Lc 60.9 Content text, not long reading
#D996EF text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#D996EF text on black 9.55:1 AAA Lc -59.1 Large or bold text, headings

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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #EFC9FC

    oklch(88.4% 0.08 317.4)

  4. Step 300

    300 (this color)

    #D996EF

    oklch(77% 0.142 317.5)

  5. Step 400

    400

    #D867FB

    oklch(70.7% 0.228 317.5)

  6. Step 500

    500

    #CC23F8

    oklch(63.2% 0.29 317.4)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3D074B

    oklch(27.1% 0.119 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#D996EF 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)#89ABF20.119
Deuteranopia (no green cones)#99B1EC0.109
Tritanopia (no blue cones)#D9A1B80.092
Achromatopsia (no color)#AFAFAF0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #D996EF

    #D996EF

    oklch(77% 0.142 317.5)

  • #86C96D

    #86C96D

    oklch(76.9% 0.142 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D996EF

    #D996EF

    oklch(77% 0.142 317.5)

  • #B0A7FF

    #B0A7FF

    oklch(77% 0.124 287.8)

  • #F58DC5

    #F58DC5

    oklch(77% 0.142 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #D996EF

    #D996EF

    oklch(77% 0.142 317.5)

  • #BEBA3F

    #BEBA3F

    oklch(77% 0.142 107.5)

  • #39D0A2

    #39D0A2

    oklch(76.9% 0.141 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D996EF

    #D996EF

    oklch(77% 0.142 317.5)

  • #E6A738

    #E6A738

    oklch(77% 0.142 77.3)

  • #00CDD1

    #00CDD1

    oklch(76.9% 0.131 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D996EF

    #D996EF

    oklch(77% 0.142 317.5)

  • #FD9660

    #FD9660

    oklch(77.1% 0.142 47.4)

  • #86C96D

    #86C96D

    oklch(76.9% 0.142 137.7)

  • #28C5FA

    #28C5FA

    oklch(77% 0.142 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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