#D797D8

Closest named color: Plum (#DDA0DD). oklch(76% 0.115 326.1), rgb(215, 151, 216).

Aa

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

About this color

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

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

Values

HEX#D797D8
RGBrgb(215, 151, 216)
HSLhsl(299, 45%, 72%)
OKLCHoklch(76% 0.115 326.1)

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 #D797D8 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #D797D8 9.30:1 AAA Lc 59.6 Large or bold text, headings
#D797D8 text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#D797D8 text on black 9.30:1 AAA Lc -57.8 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

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBF0

    oklch(88.5% 0.064 326.1)

  4. Step 300

    300 (this color)

    #D797D8

    oklch(76% 0.115 326.1)

  5. Step 400

    400

    #D972DD

    oklch(70.7% 0.184 325.9)

  6. Step 500

    500

    #CD43D3

    oklch(63.2% 0.235 326.1)

  7. Step 600

    600

    #B809C0

    oklch(55.6% 0.255 326)

  8. Step 700

    700

    #9C00A3

    oklch(49.1% 0.228 326)

  9. Step 800

    800

    #800386

    oklch(42.6% 0.196 326)

  10. Step 900

    900

    #68156B

    oklch(37.7% 0.153 326.5)

  11. Step 950

    950

    #3D103F

    oklch(27.1% 0.096 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#D797D8 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)#92A8DB0.105
Deuteranopia (no green cones)#A2AFD60.095
Tritanopia (no blue cones)#DB9DAE0.068
Achromatopsia (no color)#ADADAD0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #D797D8

    #D797D8

    oklch(76% 0.115 326.1)

  • #7FC585

    #7FC585

    oklch(76% 0.115 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D797D8

    #D797D8

    oklch(76% 0.115 326.1)

  • #B8A2F2

    #B8A2F2

    oklch(76.1% 0.115 296.2)

  • #EB92B3

    #EB92B3

    oklch(76.1% 0.114 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #D797D8

    #D797D8

    oklch(76% 0.115 326.1)

  • #ADBA62

    #ADBA62

    oklch(75.9% 0.114 116.1)

  • #50C9AE

    #50C9AE

    oklch(76% 0.115 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D797D8

    #D797D8

    oklch(76% 0.115 326.1)

  • #D1AC54

    #D1AC54

    oklch(76% 0.115 86.6)

  • #3EC5D5

    #3EC5D5

    oklch(75.9% 0.115 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D797D8

    #D797D8

    oklch(76% 0.115 326.1)

  • #E99D66

    #E99D66

    oklch(76% 0.115 55.9)

  • #7FC585

    #7FC585

    oklch(76% 0.115 146.4)

  • #61BCF0

    #61BCF0

    oklch(76% 0.115 236.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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