#D796D8

Closest named color: Plum (#DDA0DD). oklch(75.8% 0.116 326.1), rgb(215, 150, 216).

Aa

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

About this color

#D796D8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.116 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.027 away. Black text reads best on it, at 9.24:1.

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

Values

HEX#D796D8
RGBrgb(215, 150, 216)
HSLhsl(299, 46%, 72%)
OKLCHoklch(75.8% 0.116 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 #D796D8 2.27:1 Fails Lc -49.5 Large or bold text, headings
Black text on #D796D8 9.24:1 AAA Lc 59.3 Large or bold text, headings
#D796D8 text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D796D8 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 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)

    #D796D8

    oklch(75.8% 0.116 326.1)

  5. Step 400

    400

    #DA71DD

    oklch(70.7% 0.186 326.3)

  6. Step 500

    500

    #CE41D4

    oklch(63.2% 0.238 326.2)

  7. Step 600

    600

    #B900C1

    oklch(55.6% 0.259 326.1)

  8. Step 700

    700

    #9C00A3

    oklch(49.1% 0.228 326)

  9. Step 800

    800

    #810087

    oklch(42.7% 0.199 326)

  10. Step 900

    900

    #68146C

    oklch(37.7% 0.155 326.1)

  11. Step 950

    950

    #3D0F3F

    oklch(26.9% 0.098 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#D796D8 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)#91A7DB0.106
Deuteranopia (no green cones)#A1AFD60.097
Tritanopia (no blue cones)#DB9CAE0.068
Achromatopsia (no color)#ACACAC0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796D8

    #D796D8

    oklch(75.8% 0.116 326.1)

  • #7EC483

    #7EC483

    oklch(75.7% 0.116 146)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796D8

    #D796D8

    oklch(75.8% 0.116 326.1)

  • #B7A1F2

    #B7A1F2

    oklch(75.8% 0.116 296)

  • #EB90B3

    #EB90B3

    oklch(75.7% 0.117 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #D796D8

    #D796D8

    oklch(75.8% 0.116 326.1)

  • #ACBA5F

    #ACBA5F

    oklch(75.8% 0.117 116.5)

  • #4DC8AE

    #4DC8AE

    oklch(75.7% 0.116 176.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796D8

    #D796D8

    oklch(75.8% 0.116 326.1)

  • #D1AB52

    #D1AB52

    oklch(75.8% 0.116 86.2)

  • #3AC5D5

    #3AC5D5

    oklch(75.8% 0.116 206.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796D8

    #D796D8

    oklch(75.8% 0.116 326.1)

  • #E99C64

    #E99C64

    oklch(75.8% 0.117 55.9)

  • #7EC483

    #7EC483

    oklch(75.7% 0.116 146)

  • #5FBCF0

    #5FBCF0

    oklch(75.9% 0.116 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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