#D99CEC

Closest named color: Plum (#DDA0DD). oklch(77.8% 0.128 318), rgb(217, 156, 236).

Aa

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

About this color

#D99CEC is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.128 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.027 away. Black text reads best on it, at 9.91:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.91:1
White text2.11:1

Values

HEX#D99CEC
RGBrgb(217, 156, 236)
HSLhsl(286, 68%, 77%)
OKLCHoklch(77.8% 0.128 318)

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 #D99CEC 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #D99CEC 9.91:1 AAA Lc 62.6 Content text, not long reading
#D99CEC text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#D99CEC text on black 9.91:1 AAA Lc -60.9 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F5E3FA

    oklch(93.7% 0.036 318.9)

  3. Step 200

    200

    #EDCBF8

    oklch(88.5% 0.071 317.8)

  4. Step 300

    300 (this color)

    #D99CEC

    oklch(77.8% 0.128 318)

  5. Step 400

    400

    #D46FF2

    oklch(70.7% 0.206 318)

  6. Step 500

    500

    #C73AED

    oklch(63.1% 0.263 317.9)

  7. Step 600

    600

    #AF00D5

    oklch(55.5% 0.269 317.9)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0095

    oklch(42.6% 0.207 318)

  10. Step 900

    900

    #640D7A

    oklch(37.6% 0.171 317.8)

  11. Step 950

    950

    #3B0D48

    oklch(27% 0.109 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#D99CEC 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)#91AEEF0.107
Deuteranopia (no green cones)#A0B4E90.098
Tritanopia (no blue cones)#D9A6B90.085
Achromatopsia (no color)#B2B2B20.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99CEC

    #D99CEC

    oklch(77.8% 0.128 318)

  • #8DCA78

    #8DCA78

    oklch(77.8% 0.128 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99CEC

    #D99CEC

    oklch(77.8% 0.128 318)

  • #B3AAFF

    #B3AAFF

    oklch(77.8% 0.12 288.1)

  • #F394C5

    #F394C5

    oklch(77.9% 0.128 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #D99CEC

    #D99CEC

    oklch(77.8% 0.128 318)

  • #BFBD53

    #BFBD53

    oklch(77.9% 0.128 108)

  • #52D1A7

    #52D1A7

    oklch(77.9% 0.128 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99CEC

    #D99CEC

    oklch(77.8% 0.128 318)

  • #E4AC4D

    #E4AC4D

    oklch(77.9% 0.129 78)

  • #1FCFD4

    #1FCFD4

    oklch(77.7% 0.128 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99CEC

    #D99CEC

    oklch(77.8% 0.128 318)

  • #F99C6C

    #F99C6C

    oklch(77.8% 0.128 47.5)

  • #8DCA78

    #8DCA78

    oklch(77.8% 0.128 138)

  • #49C6F7

    #49C6F7

    oklch(77.8% 0.128 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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