#D996EA

Closest named color: Baby Purple (#CA9BF7). oklch(76.8% 0.136 319.3), rgb(217, 150, 234).

Aa

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

About this color

#D996EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.136 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.030 away. Black text reads best on it, at 9.50:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.50:1
White text2.21:1

Values

HEX#D996EA
RGBrgb(217, 150, 234)
HSLhsl(288, 67%, 75%)
OKLCHoklch(76.8% 0.136 319.3)

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 #D996EA 2.21:1 Fails Lc -48.1 Large or bold text, headings
Black text on #D996EA 9.50:1 AAA Lc 60.6 Content text, not long reading
#D996EA text on white 2.21:1 Fails Lc 43.4 Non-text elements, placeholder text
#D996EA text on black 9.50:1 AAA Lc -58.8 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #F0CAF9

    oklch(88.6% 0.075 319.8)

  4. Step 300

    300 (this color)

    #D996EA

    oklch(76.8% 0.136 319.3)

  5. Step 400

    400

    #D969F4

    oklch(70.7% 0.219 319.5)

  6. Step 500

    500

    #CD2BF0

    oklch(63.2% 0.279 319.3)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #68007C

    oklch(37.8% 0.182 319.4)

  11. Step 950

    950

    #3D0949

    oklch(27.1% 0.115 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#D996EA 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)#8BAAED0.117
Deuteranopia (no green cones)#9BB1E70.108
Tritanopia (no blue cones)#DAA0B50.088
Achromatopsia (no color)#AEAEAE0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #D996EA

    #D996EA

    oklch(76.8% 0.136 319.3)

  • #84C872

    #84C872

    oklch(76.7% 0.136 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D996EA

    #D996EA

    oklch(76.8% 0.136 319.3)

  • #B2A5FF

    #B2A5FF

    oklch(76.8% 0.127 289.7)

  • #F38EC1

    #F38EC1

    oklch(76.8% 0.136 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #D996EA

    #D996EA

    oklch(76.8% 0.136 319.3)

  • #BABA47

    #BABA47

    oklch(76.7% 0.136 109.2)

  • #3DCFA5

    #3DCFA5

    oklch(76.8% 0.137 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D996EA

    #D996EA

    oklch(76.8% 0.136 319.3)

  • #E1A83E

    #E1A83E

    oklch(76.7% 0.136 79.3)

  • #00CCD3

    #00CCD3

    oklch(76.8% 0.131 199.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D996EA

    #D996EA

    oklch(76.8% 0.136 319.3)

  • #F89760

    #F89760

    oklch(76.6% 0.136 49.3)

  • #84C872

    #84C872

    oklch(76.7% 0.136 139.3)

  • #39C3F9

    #39C3F9

    oklch(76.8% 0.137 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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