#D796E4

Closest named color: Plum (#DDA0DD). oklch(76.3% 0.129 320.7), rgb(215, 150, 228).

Aa

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

About this color

#D796E4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.129 and its hue 321°. 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.37:1.

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

Values

HEX#D796E4
RGBrgb(215, 150, 228)
HSLhsl(290, 59%, 74%)
OKLCHoklch(76.3% 0.129 320.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 #D796E4 2.24:1 Fails Lc -48.8 Large or bold text, headings
Black text on #D796E4 9.37:1 AAA Lc 60.0 Large or bold text, headings
#D796E4 text on white 2.24:1 Fails Lc 44.0 Non-text elements, placeholder text
#D796E4 text on black 9.37:1 AAA Lc -58.1 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2F9

    oklch(93.6% 0.037 321.8)

  3. Step 200

    200

    #EFCAF7

    oklch(88.4% 0.072 320.3)

  4. Step 300

    300 (this color)

    #D796E4

    oklch(76.3% 0.129 320.7)

  5. Step 400

    400

    #D86DED

    oklch(70.7% 0.206 320.8)

  6. Step 500

    500

    #CC36E7

    oklch(63.1% 0.263 320.9)

  7. Step 600

    600

    #B300CE

    oklch(55.6% 0.266 320.9)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #670A77

    oklch(37.7% 0.172 320.7)

  11. Step 950

    950

    #3D0C46

    oklch(27.1% 0.109 320.9)

Export this scale for Tailwind in the Tailwind colors tool

#D796E4 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)#8DA9E70.111
Deuteranopia (no green cones)#9DB0E20.102
Tritanopia (no blue cones)#D99FB30.082
Achromatopsia (no color)#ADADAD0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796E4

    #D796E4

    oklch(76.3% 0.129 320.7)

  • #83C677

    #83C677

    oklch(76.2% 0.129 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796E4

    #D796E4

    oklch(76.3% 0.129 320.7)

  • #B2A3FE

    #B2A3FE

    oklch(76.3% 0.129 290.6)

  • #EF8EBC

    #EF8EBC

    oklch(76.2% 0.129 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #D796E4

    #D796E4

    oklch(76.3% 0.129 320.7)

  • #B6B950

    #B6B950

    oklch(76.2% 0.128 110.6)

  • #45CCA7

    #45CCA7

    oklch(76.3% 0.128 171)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796E4

    #D796E4

    oklch(76.3% 0.129 320.7)

  • #DCA846

    #DCA846

    oklch(76.2% 0.129 80.4)

  • #09CAD3

    #09CAD3

    oklch(76.3% 0.129 200.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796E4

    #D796E4

    oklch(76.3% 0.129 320.7)

  • #F39963

    #F39963

    oklch(76.4% 0.129 50.8)

  • #83C677

    #83C677

    oklch(76.2% 0.129 140.7)

  • #48C0F4

    #48C0F4

    oklch(76.2% 0.128 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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