#D797DC

Closest named color: Plum (#DDA0DD). oklch(76.1% 0.119 324.2), rgb(215, 151, 220).

Aa

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

About this color

#D797DC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.119 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.34:1.

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

Values

HEX#D797DC
RGBrgb(215, 151, 220)
HSLhsl(296, 50%, 73%)
OKLCHoklch(76.1% 0.119 324.2)

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 #D797DC 2.24:1 Fails Lc -48.9 Large or bold text, headings
Black text on #D797DC 9.34:1 AAA Lc 59.8 Large or bold text, headings
#D797DC text on white 2.24:1 Fails Lc 44.1 Non-text elements, placeholder text
#D797DC text on black 9.34:1 AAA Lc -58.0 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

    #F0CBF2

    oklch(88.5% 0.066 324.5)

  4. Step 300

    300 (this color)

    #D797DC

    oklch(76.1% 0.119 324.2)

  5. Step 400

    400

    #D971E2

    oklch(70.8% 0.19 324.3)

  6. Step 500

    500

    #CC40D9

    oklch(63.1% 0.243 324.2)

  7. Step 600

    600

    #B700C6

    oklch(55.7% 0.261 324.2)

  8. Step 700

    700

    #9A00A7

    oklch(49% 0.23 324.1)

  9. Step 800

    800

    #7F008A

    oklch(42.6% 0.2 324.1)

  10. Step 900

    900

    #67136F

    oklch(37.7% 0.158 324.1)

  11. Step 950

    950

    #3D0F41

    oklch(27.1% 0.1 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#D797DC 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)#91A8DF0.106
Deuteranopia (no green cones)#A0B0DA0.098
Tritanopia (no blue cones)#DA9EB00.072
Achromatopsia (no color)#ADADAD0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797DC

    #D797DC

    oklch(76.1% 0.119 324.2)

  • #81C581

    #81C581

    oklch(76.1% 0.118 144.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797DC

    #D797DC

    oklch(76.1% 0.119 324.2)

  • #B6A2F6

    #B6A2F6

    oklch(76.1% 0.12 294.3)

  • #EC91B6

    #EC91B6

    oklch(76.1% 0.118 354.3)

Open the analogous palette in the generator

Split complementary

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

  • #D797DC

    #D797DC

    oklch(76.1% 0.119 324.2)

  • #B0BA5D

    #B0BA5D

    oklch(76.1% 0.118 114.3)

  • #4ECAAC

    #4ECAAC

    oklch(76.2% 0.119 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797DC

    #D797DC

    oklch(76.1% 0.119 324.2)

  • #D5AB51

    #D5AB51

    oklch(76.2% 0.119 84.2)

  • #35C7D4

    #35C7D4

    oklch(76.1% 0.119 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797DC

    #D797DC

    oklch(76.1% 0.119 324.2)

  • #EC9C66

    #EC9C66

    oklch(76.1% 0.119 54)

  • #81C581

    #81C581

    oklch(76.1% 0.118 144.3)

  • #5ABEF1

    #5ABEF1

    oklch(76.2% 0.118 233.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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