#D796DB

Closest named color: Plum (#DDA0DD). oklch(75.9% 0.119 324.7), rgb(215, 150, 219).

Aa

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

About this color

#D796DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.119 and its hue 325°. 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.27:1.

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

Values

HEX#D796DB
RGBrgb(215, 150, 219)
HSLhsl(297, 49%, 72%)
OKLCHoklch(75.9% 0.119 324.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 #D796DB 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #D796DB 9.27:1 AAA Lc 59.5 Large or bold text, headings
#D796DB text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#D796DB text on black 9.27:1 AAA Lc -57.6 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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E2F7

    oklch(93.5% 0.035 324.4)

  3. Step 200

    200

    #F0CBF2

    oklch(88.5% 0.066 324.5)

  4. Step 300

    300 (this color)

    #D796DB

    oklch(75.9% 0.119 324.7)

  5. Step 400

    400

    #DA70E1

    oklch(70.7% 0.191 325)

  6. Step 500

    500

    #CD3FD9

    oklch(63.1% 0.244 324.6)

  7. Step 600

    600

    #B700C4

    oklch(55.5% 0.26 324.7)

  8. Step 700

    700

    #9B00A6

    oklch(49.1% 0.23 324.7)

  9. Step 800

    800

    #800089

    oklch(42.7% 0.2 324.8)

  10. Step 900

    900

    #68126F

    oklch(37.8% 0.159 324.6)

  11. Step 950

    950

    #3D0E41

    oklch(27% 0.101 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#D796DB 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)#90A7DE0.107
Deuteranopia (no green cones)#A0AFD90.098
Tritanopia (no blue cones)#DA9DAF0.072
Achromatopsia (no color)#ACACAC0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796DB

    #D796DB

    oklch(75.9% 0.119 324.7)

  • #7FC580

    #7FC580

    oklch(75.9% 0.12 144.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796DB

    #D796DB

    oklch(75.9% 0.119 324.7)

  • #B6A1F5

    #B6A1F5

    oklch(75.9% 0.12 294.9)

  • #EC90B5

    #EC90B5

    oklch(75.9% 0.119 354.7)

Open the analogous palette in the generator

Split complementary

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

  • #D796DB

    #D796DB

    oklch(75.9% 0.119 324.7)

  • #AFBA5C

    #AFBA5C

    oklch(76% 0.12 114.8)

  • #4BC9AC

    #4BC9AC

    oklch(75.8% 0.119 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796DB

    #D796DB

    oklch(75.9% 0.119 324.7)

  • #D4AA4F

    #D4AA4F

    oklch(75.9% 0.119 84.3)

  • #32C6D4

    #32C6D4

    oklch(75.8% 0.119 204.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796DB

    #D796DB

    oklch(75.9% 0.119 324.7)

  • #EB9B64

    #EB9B64

    oklch(75.8% 0.119 54.4)

  • #7FC580

    #7FC580

    oklch(75.9% 0.12 144.6)

  • #5ABDF1

    #5ABDF1

    oklch(76% 0.119 234.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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