#D796CC

Closest named color: Plum (#DDA0DD). oklch(75.4% 0.105 332.7), rgb(215, 150, 204).

Aa

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

About this color

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

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

Values

HEX#D796CC
RGBrgb(215, 150, 204)
HSLhsl(310, 45%, 72%)
OKLCHoklch(75.4% 0.105 332.7)

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 #D796CC 2.30:1 Fails Lc -50.1 Large or bold text, headings
Black text on #D796CC 9.12:1 AAA Lc 58.7 Large or bold text, headings
#D796CC text on white 2.30:1 Fails Lc 45.3 Large or bold text, headings
#D796CC text on black 9.12:1 AAA Lc -56.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 400.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E4

    oklch(88.6% 0.037 332.9)

  4. Step 300

    300

    #DBB1D3

    oklch(80.8% 0.066 332.8)

  5. Step 400

    400 (this color)

    #D796CC

    oklch(75.4% 0.105 332.7)

  6. Step 500

    500

    #B868AC

    oklch(63% 0.134 332.8)

  7. Step 600

    600

    #A34E98

    oklch(55.6% 0.146 332.5)

  8. Step 700

    700

    #8C3E81

    oklch(49.1% 0.136 333.1)

  9. Step 800

    800

    #723469

    oklch(42.8% 0.112 333.1)

  10. Step 900

    900

    #5C2E55

    oklch(37.7% 0.087 333.1)

  11. Step 950

    950

    #361B32

    oklch(26.9% 0.056 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#D796CC 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)#95A5CE0.101
Deuteranopia (no green cones)#A5AECA0.093
Tritanopia (no blue cones)#DD99A90.055
Achromatopsia (no color)#ABABAB0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796CC

    #D796CC

    oklch(75.4% 0.105 332.7)

  • #79C38F

    #79C38F

    oklch(75.5% 0.106 152.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796CC

    #D796CC

    oklch(75.4% 0.105 332.7)

  • #BC9FE6

    #BC9FE6

    oklch(75.4% 0.104 302.7)

  • #E793A9

    #E793A9

    oklch(75.5% 0.104 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #D796CC

    #D796CC

    oklch(75.4% 0.105 332.7)

  • #A3BA6D

    #A3BA6D

    oklch(75.3% 0.105 122.5)

  • #54C5B5

    #54C5B5

    oklch(75.4% 0.105 182.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796CC

    #D796CC

    oklch(75.4% 0.105 332.7)

  • #C6AD5D

    #C6AD5D

    oklch(75.3% 0.104 92.4)

  • #50C0D6

    #50C0D6

    oklch(75.2% 0.105 212.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796CC

    #D796CC

    oklch(75.4% 0.105 332.7)

  • #DFA067

    #DFA067

    oklch(75.4% 0.105 62.3)

  • #79C38F

    #79C38F

    oklch(75.5% 0.106 152.7)

  • #71B7EC

    #71B7EC

    oklch(75.4% 0.104 242.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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