#D797DD

Closest named color: Plum (#DDA0DD). oklch(76.2% 0.12 323.7), rgb(215, 151, 221).

Aa

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

About this color

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

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

Values

HEX#D797DD
RGBrgb(215, 151, 221)
HSLhsl(295, 51%, 73%)
OKLCHoklch(76.2% 0.12 323.7)

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 #D797DD 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #D797DD 9.36:1 AAA Lc 59.9 Large or bold text, headings
#D797DD text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#D797DD text on black 9.36:1 AAA Lc -58.1 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

    #F6E3F7

    oklch(93.7% 0.033 324.3)

  3. Step 200

    200

    #F0CBF3

    oklch(88.6% 0.067 323.7)

  4. Step 300

    300 (this color)

    #D797DD

    oklch(76.2% 0.12 323.7)

  5. Step 400

    400

    #D870E3

    oklch(70.6% 0.192 323.7)

  6. Step 500

    500

    #CC3FDB

    oklch(63.1% 0.245 323.7)

  7. Step 600

    600

    #B600C7

    oklch(55.6% 0.262 323.6)

  8. Step 700

    700

    #9A00A8

    oklch(49.1% 0.231 323.8)

  9. Step 800

    800

    #7F008B

    oklch(42.7% 0.201 323.7)

  10. Step 900

    900

    #671270

    oklch(37.7% 0.16 323.7)

  11. Step 950

    950

    #3D0E42

    oklch(27% 0.102 323.7)

Export this scale for Tailwind in the Tailwind colors tool

#D797DD 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)#91A8E00.105
Deuteranopia (no green cones)#A0B0DB0.098
Tritanopia (no blue cones)#DA9EB10.072
Achromatopsia (no color)#ADADAD0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797DD

    #D797DD

    oklch(76.2% 0.12 323.7)

  • #81C580

    #81C580

    oklch(76% 0.119 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797DD

    #D797DD

    oklch(76.2% 0.12 323.7)

  • #B5A2F7

    #B5A2F7

    oklch(76.1% 0.121 293.6)

  • #ED91B7

    #ED91B7

    oklch(76.2% 0.12 354)

Open the analogous palette in the generator

Split complementary

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

  • #D797DD

    #D797DD

    oklch(76.2% 0.12 323.7)

  • #B1BA5B

    #B1BA5B

    oklch(76.2% 0.12 113.7)

  • #4DCAAB

    #4DCAAB

    oklch(76.1% 0.12 173.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797DD

    #D797DD

    oklch(76.2% 0.12 323.7)

  • #D6AB50

    #D6AB50

    oklch(76.3% 0.12 83.8)

  • #32C7D4

    #32C7D4

    oklch(76.1% 0.12 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797DD

    #D797DD

    oklch(76.2% 0.12 323.7)

  • #ED9C66

    #ED9C66

    oklch(76.3% 0.12 53.7)

  • #81C580

    #81C580

    oklch(76% 0.119 144)

  • #59BEF2

    #59BEF2

    oklch(76.2% 0.12 233.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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