#D99CEB

Closest named color: Plum (#DDA0DD). oklch(77.8% 0.127 318.4), rgb(217, 156, 235).

Aa

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

About this color

#D99CEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.127 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.026 away. Black text reads best on it, at 9.90:1.

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

Values

HEX#D99CEB
RGBrgb(217, 156, 235)
HSLhsl(286, 66%, 77%)
OKLCHoklch(77.8% 0.127 318.4)

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 #D99CEB 2.12:1 Fails Lc -46.1 Large or bold text, headings
Black text on #D99CEB 9.90:1 AAA Lc 62.5 Content text, not long reading
#D99CEB text on white 2.12:1 Fails Lc 41.4 Non-text elements, placeholder text
#D99CEB text on black 9.90:1 AAA Lc -60.8 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)

    #D99CEB

    oklch(77.8% 0.127 318.4)

  5. Step 400

    400

    #D46FF0

    oklch(70.6% 0.204 318.5)

  6. Step 500

    500

    #C73BEB

    oklch(63.1% 0.26 318.3)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7B0095

    oklch(42.8% 0.207 318.4)

  10. Step 900

    900

    #650E79

    oklch(37.7% 0.17 318.7)

  11. Step 950

    950

    #3B0D47

    oklch(27% 0.108 318.4)

Export this scale for Tailwind in the Tailwind colors tool

#D99CEB 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)#92AEEE0.106
Deuteranopia (no green cones)#A0B4E90.097
Tritanopia (no blue cones)#D9A5B90.083
Achromatopsia (no color)#B2B2B20.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99CEB

    #D99CEB

    oklch(77.8% 0.127 318.4)

  • #8DCA79

    #8DCA79

    oklch(77.8% 0.127 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99CEB

    #D99CEB

    oklch(77.8% 0.127 318.4)

  • #B3AAFF

    #B3AAFF

    oklch(77.8% 0.12 288.1)

  • #F294C5

    #F294C5

    oklch(77.8% 0.127 347.9)

Open the analogous palette in the generator

Split complementary

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

  • #D99CEB

    #D99CEB

    oklch(77.8% 0.127 318.4)

  • #BEBD54

    #BEBD54

    oklch(77.8% 0.128 108.5)

  • #52D1A8

    #52D1A8

    oklch(77.9% 0.128 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99CEB

    #D99CEB

    oklch(77.8% 0.127 318.4)

  • #E3AC4E

    #E3AC4E

    oklch(77.8% 0.127 78.3)

  • #23CFD4

    #23CFD4

    oklch(77.8% 0.127 198.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99CEB

    #D99CEB

    oklch(77.8% 0.127 318.4)

  • #F89D6C

    #F89D6C

    oklch(77.8% 0.127 48.5)

  • #8DCA79

    #8DCA79

    oklch(77.8% 0.127 138.3)

  • #4BC6F7

    #4BC6F7

    oklch(77.8% 0.128 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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