#D997E4

Closest named color: Plum (#DDA0DD). oklch(76.7% 0.128 321.6), rgb(217, 151, 228).

Aa

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

About this color

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

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

Values

HEX#D997E4
RGBrgb(217, 151, 228)
HSLhsl(291, 59%, 74%)
OKLCHoklch(76.7% 0.128 321.6)

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

    #F6E2F9

    oklch(93.6% 0.037 321.8)

  3. Step 200

    200

    #F0CAF6

    oklch(88.5% 0.072 321.7)

  4. Step 300

    300 (this color)

    #D997E4

    oklch(76.7% 0.128 321.6)

  5. Step 400

    400

    #D96DEB

    oklch(70.7% 0.204 321.7)

  6. Step 500

    500

    #CD36E5

    oklch(63.2% 0.262 321.7)

  7. Step 600

    600

    #B400CC

    oklch(55.6% 0.265 321.7)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #680A76

    oklch(37.8% 0.171 321.7)

  11. Step 950

    950

    #3D0C45

    oklch(27% 0.108 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#D997E4 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)#8EAAE70.113
Deuteranopia (no green cones)#9FB1E20.102
Tritanopia (no blue cones)#DB9FB30.080
Achromatopsia (no color)#AEAEAE0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #D997E4

    #D997E4

    oklch(76.7% 0.128 321.6)

  • #83C87A

    #83C87A

    oklch(76.8% 0.129 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D997E4

    #D997E4

    oklch(76.7% 0.128 321.6)

  • #B5A4FE

    #B5A4FE

    oklch(76.8% 0.128 291.8)

  • #F190BC

    #F190BC

    oklch(76.7% 0.128 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #D997E4

    #D997E4

    oklch(76.7% 0.128 321.6)

  • #B6BB52

    #B6BB52

    oklch(76.7% 0.129 111.6)

  • #45CDA9

    #45CDA9

    oklch(76.6% 0.128 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D997E4

    #D997E4

    oklch(76.7% 0.128 321.6)

  • #DCAA48

    #DCAA48

    oklch(76.6% 0.128 81.4)

  • #14CBD5

    #14CBD5

    oklch(76.7% 0.128 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D997E4

    #D997E4

    oklch(76.7% 0.128 321.6)

  • #F39A63

    #F39A63

    oklch(76.6% 0.128 51.5)

  • #83C87A

    #83C87A

    oklch(76.8% 0.129 141.6)

  • #4CC1F6

    #4CC1F6

    oklch(76.7% 0.128 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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