#D797D4

Closest named color: Plum (#DDA0DD). oklch(75.8% 0.111 328.2), rgb(215, 151, 212).

Aa

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

About this color

#D797D4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.111 and its hue 328°. 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.26:1.

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

Values

HEX#D797D4
RGBrgb(215, 151, 212)
HSLhsl(303, 44%, 72%)
OKLCHoklch(75.8% 0.111 328.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 #D797D4 2.26:1 Fails Lc -49.4 Large or bold text, headings
Black text on #D797D4 9.26:1 AAA Lc 59.4 Large or bold text, headings
#D797D4 text on white 2.26:1 Fails Lc 44.6 Non-text elements, placeholder text
#D797D4 text on black 9.26:1 AAA Lc -57.6 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F5

    oklch(93.6% 0.031 327.4)

  3. Step 200

    200

    #F0CBEE

    oklch(88.4% 0.062 327.8)

  4. Step 300

    300 (this color)

    #D797D4

    oklch(75.8% 0.111 328.2)

  5. Step 400

    400

    #DA73D7

    oklch(70.7% 0.177 328.3)

  6. Step 500

    500

    #CD46CC

    oklch(63.1% 0.226 328.2)

  7. Step 600

    600

    #B915B9

    oklch(55.7% 0.246 328.3)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #810A81

    oklch(42.7% 0.19 328.3)

  10. Step 900

    900

    #681868

    oklch(37.8% 0.147 328)

  11. Step 950

    950

    #3D103D

    oklch(26.9% 0.094 327.8)

Export this scale for Tailwind in the Tailwind colors tool

#D797D4 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)#94A7D60.102
Deuteranopia (no green cones)#A3AFD20.094
Tritanopia (no blue cones)#DB9CAD0.062
Achromatopsia (no color)#ACACAC0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797D4

    #D797D4

    oklch(75.8% 0.111 328.2)

  • #7EC489

    #7EC489

    oklch(75.8% 0.11 148.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797D4

    #D797D4

    oklch(75.8% 0.111 328.2)

  • #B9A1EE

    #B9A1EE

    oklch(75.8% 0.111 298)

  • #EA92B0

    #EA92B0

    oklch(75.8% 0.112 358.1)

Open the analogous palette in the generator

Split complementary

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

  • #D797D4

    #D797D4

    oklch(75.8% 0.111 328.2)

  • #AABA66

    #AABA66

    oklch(75.8% 0.111 118)

  • #53C7B1

    #53C7B1

    oklch(75.7% 0.11 178.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797D4

    #D797D4

    oklch(75.8% 0.111 328.2)

  • #CEAC58

    #CEAC58

    oklch(75.8% 0.111 87.6)

  • #46C4D5

    #46C4D5

    oklch(75.8% 0.111 207.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797D4

    #D797D4

    oklch(75.8% 0.111 328.2)

  • #E59F67

    #E59F67

    oklch(75.9% 0.11 58.7)

  • #7EC489

    #7EC489

    oklch(75.8% 0.11 148.3)

  • #67BAEF

    #67BAEF

    oklch(75.7% 0.111 238.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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