#D997E2

Closest named color: Plum (#DDA0DD). oklch(76.6% 0.126 322.5), rgb(217, 151, 226).

Aa

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

About this color

#D997E2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.126 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.027 away. Black text reads best on it, at 9.47:1.

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

Values

HEX#D997E2
RGBrgb(217, 151, 226)
HSLhsl(293, 56%, 74%)
OKLCHoklch(76.6% 0.126 322.5)

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 #D997E2 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #D997E2 9.47:1 AAA Lc 60.5 Content text, not long reading
#D997E2 text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#D997E2 text on black 9.47:1 AAA Lc -58.7 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

    #F6E2F9

    oklch(93.6% 0.037 321.8)

  3. Step 200

    200

    #F0CAF5

    oklch(88.5% 0.071 322.4)

  4. Step 300

    300 (this color)

    #D997E2

    oklch(76.6% 0.126 322.5)

  5. Step 400

    400

    #D96DE9

    oklch(70.6% 0.203 322.3)

  6. Step 500

    500

    #CD38E2

    oklch(63.1% 0.258 322.4)

  7. Step 600

    600

    #B500CA

    oklch(55.6% 0.263 322.5)

  8. Step 700

    700

    #9900AB

    oklch(49.1% 0.233 322.5)

  9. Step 800

    800

    #7E008D

    oklch(42.7% 0.202 322.5)

  10. Step 900

    900

    #680C74

    oklch(37.7% 0.168 322.5)

  11. Step 950

    950

    #3D0C44

    oklch(27% 0.107 322.4)

Export this scale for Tailwind in the Tailwind colors tool

#D997E2 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)#8FA9E50.111
Deuteranopia (no green cones)#9FB1E00.102
Tritanopia (no blue cones)#DB9FB30.077
Achromatopsia (no color)#AEAEAE0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #D997E2

    #D997E2

    oklch(76.6% 0.126 322.5)

  • #82C77C

    #82C77C

    oklch(76.5% 0.126 142.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D997E2

    #D997E2

    oklch(76.6% 0.126 322.5)

  • #B5A3FC

    #B5A3FC

    oklch(76.5% 0.126 292.4)

  • #F090BB

    #F090BB

    oklch(76.6% 0.126 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #D997E2

    #D997E2

    oklch(76.6% 0.126 322.5)

  • #B4BB55

    #B4BB55

    oklch(76.6% 0.126 112.6)

  • #47CDAA

    #47CDAA

    oklch(76.7% 0.127 172.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D997E2

    #D997E2

    oklch(76.6% 0.126 322.5)

  • #DAAB4A

    #DAAB4A

    oklch(76.6% 0.126 82.8)

  • #1FCAD6

    #1FCAD6

    oklch(76.6% 0.126 202.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D997E2

    #D997E2

    oklch(76.6% 0.126 322.5)

  • #F29B63

    #F29B63

    oklch(76.6% 0.127 52.6)

  • #82C77C

    #82C77C

    oklch(76.5% 0.126 142.4)

  • #50C0F6

    #50C0F6

    oklch(76.6% 0.127 232.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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