#D997E1

Closest named color: Plum (#DDA0DD). oklch(76.5% 0.125 322.9), rgb(217, 151, 225).

Aa

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

About this color

#D997E1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.125 and its hue 323°. 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.46:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.46:1
White text2.21:1

Values

HEX#D997E1
RGBrgb(217, 151, 225)
HSLhsl(294, 55%, 74%)
OKLCHoklch(76.5% 0.125 322.9)

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 #D997E1 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #D997E1 9.46:1 AAA Lc 60.4 Content text, not long reading
#D997E1 text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#D997E1 text on black 9.46:1 AAA Lc -58.6 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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E2F8

    oklch(93.5% 0.036 323.1)

  3. Step 200

    200

    #F0CAF4

    oklch(88.4% 0.07 323.1)

  4. Step 300

    300 (this color)

    #D997E1

    oklch(76.5% 0.125 322.9)

  5. Step 400

    400

    #DA6EE7

    oklch(70.8% 0.2 323.2)

  6. Step 500

    500

    #CD39E0

    oklch(63.1% 0.256 322.9)

  7. Step 600

    600

    #B500C9

    oklch(55.6% 0.263 322.8)

  8. Step 700

    700

    #9900AA

    oklch(49.1% 0.232 322.8)

  9. Step 800

    800

    #7E008C

    oklch(42.6% 0.201 322.9)

  10. Step 900

    900

    #680D73

    oklch(37.7% 0.167 322.9)

  11. Step 950

    950

    #3D0C43

    oklch(26.9% 0.106 323.1)

Export this scale for Tailwind in the Tailwind colors tool

#D997E1 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)#90A9E40.110
Deuteranopia (no green cones)#A0B1DF0.101
Tritanopia (no blue cones)#DC9FB20.077
Achromatopsia (no color)#AEAEAE0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #D997E1

    #D997E1

    oklch(76.5% 0.125 322.9)

  • #81C77D

    #81C77D

    oklch(76.5% 0.125 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D997E1

    #D997E1

    oklch(76.5% 0.125 322.9)

  • #B6A3FB

    #B6A3FB

    oklch(76.5% 0.125 293.1)

  • #F090BA

    #F090BA

    oklch(76.5% 0.126 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #D997E1

    #D997E1

    oklch(76.5% 0.125 322.9)

  • #B3BB57

    #B3BB57

    oklch(76.5% 0.125 113.1)

  • #47CCAB

    #47CCAB

    oklch(76.4% 0.125 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D997E1

    #D997E1

    oklch(76.5% 0.125 322.9)

  • #D9AB4B

    #D9AB4B

    oklch(76.5% 0.125 83.2)

  • #23CAD6

    #23CAD6

    oklch(76.6% 0.125 202.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D997E1

    #D997E1

    oklch(76.5% 0.125 322.9)

  • #F19B64

    #F19B64

    oklch(76.5% 0.125 52.5)

  • #81C77D

    #81C77D

    oklch(76.5% 0.125 143)

  • #52C0F5

    #52C0F5

    oklch(76.6% 0.125 232.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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