#D796D4

Closest named color: Plum (#DDA0DD). oklch(75.7% 0.112 328.2), rgb(215, 150, 212).

Aa

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

About this color

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

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

Values

HEX#D796D4
RGBrgb(215, 150, 212)
HSLhsl(303, 45%, 72%)
OKLCHoklch(75.7% 0.112 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 #D796D4 2.28:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D796D4 9.20:1 AAA Lc 59.1 Large or bold text, headings
#D796D4 text on white 2.28:1 Fails Lc 44.9 Non-text elements, placeholder text
#D796D4 text on black 9.20:1 AAA Lc -57.2 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D0E6

    oklch(88.4% 0.04 328.5)

  4. Step 300

    300

    #DAB1D8

    oklch(80.9% 0.07 327.8)

  5. Step 400

    400 (this color)

    #D796D4

    oklch(75.7% 0.112 328.2)

  6. Step 500

    500

    #B767B5

    oklch(63.1% 0.143 328)

  7. Step 600

    600

    #A24CA0

    oklch(55.6% 0.156 328.3)

  8. Step 700

    700

    #8B3C89

    oklch(49.1% 0.146 328.5)

  9. Step 800

    800

    #713370

    oklch(42.8% 0.12 328)

  10. Step 900

    900

    #5B2D5A

    oklch(37.6% 0.093 328)

  11. Step 950

    950

    #361B35

    oklch(27.1% 0.06 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#D796D4 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)#93A6D60.103
Deuteranopia (no green cones)#A2AFD20.097
Tritanopia (no blue cones)#DC9BAC0.064
Achromatopsia (no color)#ACACAC0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796D4

    #D796D4

    oklch(75.7% 0.112 328.2)

  • #7CC487

    #7CC487

    oklch(75.7% 0.113 148.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796D4

    #D796D4

    oklch(75.7% 0.112 328.2)

  • #B9A0EE

    #B9A0EE

    oklch(75.6% 0.113 298.4)

  • #EA91AF

    #EA91AF

    oklch(75.6% 0.113 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #D796D4

    #D796D4

    oklch(75.7% 0.112 328.2)

  • #A9BA64

    #A9BA64

    oklch(75.7% 0.113 118.4)

  • #4FC7B0

    #4FC7B0

    oklch(75.6% 0.112 178.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796D4

    #D796D4

    oklch(75.7% 0.112 328.2)

  • #CEAC56

    #CEAC56

    oklch(75.7% 0.112 88)

  • #42C4D5

    #42C4D5

    oklch(75.7% 0.113 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796D4

    #D796D4

    oklch(75.7% 0.112 328.2)

  • #E59E65

    #E59E65

    oklch(75.7% 0.112 58.7)

  • #7CC487

    #7CC487

    oklch(75.7% 0.113 148.1)

  • #65BAEF

    #65BAEF

    oklch(75.6% 0.113 238.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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