#D797D2

Closest named color: Plum (#DDA0DD). oklch(75.8% 0.109 329.3), rgb(215, 151, 210).

Aa

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

About this color

#D797D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.109 and its hue 329°. 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.24:1.

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

Values

HEX#D797D2
RGBrgb(215, 151, 210)
HSLhsl(305, 44%, 72%)
OKLCHoklch(75.8% 0.109 329.3)

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 #D797D2 2.27:1 Fails Lc -49.5 Large or bold text, headings
Black text on #D797D2 9.24:1 AAA Lc 59.3 Large or bold text, headings
#D797D2 text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D797D2 text on black 9.24:1 AAA Lc -57.5 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

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E8D1E5

    oklch(88.5% 0.037 330.1)

  4. Step 300

    300

    #DAB1D6

    oklch(80.8% 0.068 329.4)

  5. Step 400

    400 (this color)

    #D797D2

    oklch(75.8% 0.109 329.3)

  6. Step 500

    500

    #B768B2

    oklch(63.2% 0.139 329.4)

  7. Step 600

    600

    #A24D9E

    oklch(55.6% 0.152 329.2)

  8. Step 700

    700

    #8A3E87

    oklch(49.1% 0.14 329)

  9. Step 800

    800

    #70346D

    oklch(42.7% 0.115 329.3)

  10. Step 900

    900

    #5B2E59

    oklch(37.7% 0.09 328.8)

  11. Step 950

    950

    #361B34

    oklch(27% 0.058 329.8)

Export this scale for Tailwind in the Tailwind colors tool

#D797D2 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)#94A7D40.102
Deuteranopia (no green cones)#A4AFD00.093
Tritanopia (no blue cones)#DC9BAC0.060
Achromatopsia (no color)#ACACAC0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797D2

    #D797D2

    oklch(75.8% 0.109 329.3)

  • #7DC48A

    #7DC48A

    oklch(75.8% 0.11 149.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797D2

    #D797D2

    oklch(75.8% 0.109 329.3)

  • #BAA1EC

    #BAA1EC

    oklch(75.8% 0.109 299.1)

  • #E993AE

    #E993AE

    oklch(75.8% 0.108 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #D797D2

    #D797D2

    oklch(75.8% 0.109 329.3)

  • #A8BA69

    #A8BA69

    oklch(75.7% 0.108 119.3)

  • #54C7B2

    #54C7B2

    oklch(75.8% 0.109 179.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797D2

    #D797D2

    oklch(75.8% 0.109 329.3)

  • #CCAD5A

    #CCAD5A

    oklch(75.8% 0.109 89.2)

  • #4AC3D6

    #4AC3D6

    oklch(75.8% 0.109 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797D2

    #D797D2

    oklch(75.8% 0.109 329.3)

  • #E39F67

    #E39F67

    oklch(75.7% 0.109 59.6)

  • #7DC48A

    #7DC48A

    oklch(75.8% 0.11 149.1)

  • #6ABAEE

    #6ABAEE

    oklch(75.8% 0.109 238.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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