#D796F3

Closest named color: Baby Purple (#CA9BF7). oklch(76.9% 0.145 315.2), rgb(215, 150, 243).

Aa

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

About this color

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

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

Values

HEX#D796F3
RGBrgb(215, 150, 243)
HSLhsl(282, 79%, 77%)
OKLCHoklch(76.9% 0.145 315.2)

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 #D796F3 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #D796F3 9.54:1 AAA Lc 60.8 Content text, not long reading
#D796F3 text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#D796F3 text on black 9.54: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

    #F5E2FE

    oklch(93.6% 0.042 315.1)

  3. Step 200

    200

    #EECAFE

    oklch(88.6% 0.08 315.4)

  4. Step 300

    300 (this color)

    #D796F3

    oklch(76.9% 0.145 315.2)

  5. Step 400

    400

    #D469FF

    oklch(70.7% 0.227 315.1)

  6. Step 500

    500

    #C91FFF

    oklch(63.1% 0.297 315.2)

  7. Step 600

    600

    #AC00DC

    oklch(55.6% 0.273 315.3)

  8. Step 700

    700

    #9100BA

    oklch(49% 0.241 315.3)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #640082

    oklch(37.6% 0.185 315.1)

  11. Step 950

    950

    #3C064E

    oklch(27.1% 0.123 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#D796F3 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)#87ABF60.118
Deuteranopia (no green cones)#97B1F00.109
Tritanopia (no blue cones)#D6A2B90.098
Achromatopsia (no color)#AFAFAF0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D796F3

    #D796F3

    oklch(76.9% 0.145 315.2)

  • #8AC866

    #8AC866

    oklch(76.8% 0.145 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D796F3

    #D796F3

    oklch(76.9% 0.145 315.2)

  • #ACA8FF

    #ACA8FF

    oklch(76.9% 0.123 285.2)

  • #F58CC9

    #F58CC9

    oklch(77% 0.146 345.2)

Open the analogous palette in the generator

Split complementary

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

  • #D796F3

    #D796F3

    oklch(76.9% 0.145 315.2)

  • #C2B937

    #C2B937

    oklch(77% 0.145 105.3)

  • #3AD19D

    #3AD19D

    oklch(77% 0.146 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D796F3

    #D796F3

    oklch(76.9% 0.145 315.2)

  • #E9A534

    #E9A534

    oklch(76.9% 0.145 75.3)

  • #00CDCE

    #00CDCE

    oklch(76.8% 0.131 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D796F3

    #D796F3

    oklch(76.9% 0.145 315.2)

  • #FF9461

    #FF9461

    oklch(77% 0.145 45.4)

  • #8AC866

    #8AC866

    oklch(76.8% 0.145 135.1)

  • #07C6F9

    #07C6F9

    oklch(76.9% 0.145 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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