#D997CB

Closest named color: Plum (#DDA0DD). oklch(75.7% 0.104 334.4), rgb(217, 151, 203).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text9.23:1
White text2.27:1

Values

HEX#D997CB
RGBrgb(217, 151, 203)
HSLhsl(313, 46%, 72%)
OKLCHoklch(75.7% 0.104 334.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 #D997CB 2.27:1 Fails Lc -49.5 Large or bold text, headings
Black text on #D997CB 9.23:1 AAA Lc 59.3 Large or bold text, headings
#D997CB text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D997CB text on black 9.23:1 AAA Lc -57.4 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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DCB1D2

    oklch(80.9% 0.066 334.5)

  5. Step 400

    400 (this color)

    #D997CB

    oklch(75.7% 0.104 334.4)

  6. Step 500

    500

    #B968AA

    oklch(63.1% 0.133 334.2)

  7. Step 600

    600

    #A44E95

    oklch(55.6% 0.144 334.4)

  8. Step 700

    700

    #8C3E7F

    oklch(49% 0.134 334.2)

  9. Step 800

    800

    #723467

    oklch(42.7% 0.111 334.5)

  10. Step 900

    900

    #5D2E54

    oklch(37.8% 0.087 334.8)

  11. Step 950

    950

    #361B31

    oklch(26.9% 0.055 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#D997CB 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)#97A6CD0.101
Deuteranopia (no green cones)#A7AFC90.093
Tritanopia (no blue cones)#DF9AA90.053
Achromatopsia (no color)#ACACAC0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D997CB

    #D997CB

    oklch(75.7% 0.104 334.4)

  • #79C492

    #79C492

    oklch(75.8% 0.104 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D997CB

    #D997CB

    oklch(75.7% 0.104 334.4)

  • #BFA0E6

    #BFA0E6

    oklch(75.8% 0.103 304.3)

  • #E894A8

    #E894A8

    oklch(75.7% 0.104 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #D997CB

    #D997CB

    oklch(75.7% 0.104 334.4)

  • #A2BC71

    #A2BC71

    oklch(75.8% 0.104 124.4)

  • #56C6B8

    #56C6B8

    oklch(75.8% 0.104 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D997CB

    #D997CB

    oklch(75.7% 0.104 334.4)

  • #C5AF5F

    #C5AF5F

    oklch(75.6% 0.104 94.4)

  • #54C1D9

    #54C1D9

    oklch(75.7% 0.104 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D997CB

    #D997CB

    oklch(75.7% 0.104 334.4)

  • #DEA267

    #DEA267

    oklch(75.7% 0.104 64.7)

  • #79C492

    #79C492

    oklch(75.8% 0.104 154)

  • #75B7EE

    #75B7EE

    oklch(75.7% 0.104 244.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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