#D796CB

Closest named color: Plum (#DDA0DD). oklch(75.3% 0.104 333.3), rgb(215, 150, 203).

Aa

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

About this color

#D796CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.104 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.033 away. Black text reads best on it, at 9.11:1.

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

Values

HEX#D796CB
RGBrgb(215, 150, 203)
HSLhsl(311, 45%, 72%)
OKLCHoklch(75.3% 0.104 333.3)

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 #D796CB 2.30:1 Fails Lc -50.2 Large or bold text, headings
Black text on #D796CB 9.11:1 AAA Lc 58.7 Large or bold text, headings
#D796CB text on white 2.30:1 Fails Lc 45.3 Large or bold text, headings
#D796CB text on black 9.11: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

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DBB2D3

    oklch(81% 0.064 332.9)

  5. Step 400

    400 (this color)

    #D796CB

    oklch(75.3% 0.104 333.3)

  6. Step 500

    500

    #B868AB

    oklch(63% 0.133 333.3)

  7. Step 600

    600

    #A34E97

    oklch(55.5% 0.145 332.9)

  8. Step 700

    700

    #8C3F80

    oklch(49.2% 0.133 333.7)

  9. Step 800

    800

    #723468

    oklch(42.7% 0.112 333.8)

  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

#D796CB 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)#95A5CD0.101
Deuteranopia (no green cones)#A5AEC90.093
Tritanopia (no blue cones)#DD99A90.053
Achromatopsia (no color)#ABABAB0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796CB

    #D796CB

    oklch(75.3% 0.104 333.3)

  • #79C290

    #79C290

    oklch(75.2% 0.103 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796CB

    #D796CB

    oklch(75.3% 0.104 333.3)

  • #BC9FE5

    #BC9FE5

    oklch(75.3% 0.103 303)

  • #E793A8

    #E793A8

    oklch(75.4% 0.104 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #D796CB

    #D796CB

    oklch(75.3% 0.104 333.3)

  • #A2BA6E

    #A2BA6E

    oklch(75.3% 0.104 123.2)

  • #55C4B5

    #55C4B5

    oklch(75.2% 0.104 183.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796CB

    #D796CB

    oklch(75.3% 0.104 333.3)

  • #C5AE5E

    #C5AE5E

    oklch(75.4% 0.104 93.7)

  • #52C0D6

    #52C0D6

    oklch(75.3% 0.104 213)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796CB

    #D796CB

    oklch(75.3% 0.104 333.3)

  • #DEA067

    #DEA067

    oklch(75.3% 0.104 62.8)

  • #79C290

    #79C290

    oklch(75.2% 0.103 153.4)

  • #72B6EC

    #72B6EC

    oklch(75.2% 0.104 243.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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