#D796F2

Closest named color: Baby Purple (#CA9BF7). oklch(76.9% 0.144 315.6), rgb(215, 150, 242).

Aa

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

About this color

#D796F2 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.144 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.023 away. Black text reads best on it, at 9.53:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromavivid (0.144)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.53:1
White text2.20:1

Values

HEX#D796F2
RGBrgb(215, 150, 242)
HSLhsl(282, 78%, 77%)
OKLCHoklch(76.9% 0.144 315.6)

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 #D796F2 2.20:1 Fails Lc -47.9 Large or bold text, headings
Black text on #D796F2 9.53:1 AAA Lc 60.8 Content text, not long reading
#D796F2 text on white 2.20:1 Fails Lc 43.2 Non-text elements, placeholder text
#D796F2 text on black 9.53:1 AAA Lc -59.0 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

    #FBF2FF

    oklch(97.2% 0.02 315.7)

  2. Step 100

    100

    #F5E2FD

    oklch(93.6% 0.041 316)

  3. Step 200

    200

    #EECAFE

    oklch(88.6% 0.08 315.4)

  4. Step 300

    300 (this color)

    #D796F2

    oklch(76.9% 0.144 315.6)

  5. Step 400

    400

    #D568FF

    oklch(70.7% 0.229 315.5)

  6. Step 500

    500

    #C921FE

    oklch(63.1% 0.295 315.4)

  7. Step 600

    600

    #AC00DB

    oklch(55.5% 0.273 315.5)

  8. Step 700

    700

    #9200BA

    oklch(49.2% 0.241 315.7)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #650082

    oklch(37.8% 0.186 315.6)

  11. Step 950

    950

    #3C064D

    oklch(27% 0.122 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#D796F2 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)#87ABF50.118
Deuteranopia (no green cones)#97B1EF0.109
Tritanopia (no blue cones)#D6A2B90.097
Achromatopsia (no color)#AFAFAF0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796F2

    #D796F2

    oklch(76.9% 0.144 315.6)

  • #89C868

    #89C868

    oklch(76.8% 0.144 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796F2

    #D796F2

    oklch(76.9% 0.144 315.6)

  • #ADA8FF

    #ADA8FF

    oklch(76.9% 0.123 285.7)

  • #F48CC8

    #F48CC8

    oklch(76.9% 0.144 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #D796F2

    #D796F2

    oklch(76.9% 0.144 315.6)

  • #C1B939

    #C1B939

    oklch(77% 0.144 105.8)

  • #3BD09E

    #3BD09E

    oklch(76.8% 0.144 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796F2

    #D796F2

    oklch(76.9% 0.144 315.6)

  • #E8A535

    #E8A535

    oklch(76.8% 0.144 75.5)

  • #00CDCE

    #00CDCE

    oklch(76.8% 0.131 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796F2

    #D796F2

    oklch(76.9% 0.144 315.6)

  • #FE9461

    #FE9461

    oklch(76.9% 0.144 45.6)

  • #89C868

    #89C868

    oklch(76.8% 0.144 135.8)

  • #13C6F9

    #13C6F9

    oklch(77% 0.144 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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