#D792E7

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.139 319.9), rgb(215, 146, 231).

Aa

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

About this color

#D792E7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.139 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.033 away. Black text reads best on it, at 9.15:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.15:1
White text2.29:1

Values

HEX#D792E7
RGBrgb(215, 146, 231)
HSLhsl(289, 64%, 74%)
OKLCHoklch(75.8% 0.139 319.9)

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 #D792E7 2.29:1 Fails Lc -49.9 Large or bold text, headings
Black text on #D792E7 9.15:1 AAA Lc 58.9 Large or bold text, headings
#D792E7 text on white 2.29:1 Fails Lc 45.1 Large or bold text, headings
#D792E7 text on black 9.15:1 AAA Lc -57.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 400.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFED

    oklch(88.4% 0.049 320.6)

  4. Step 300

    300

    #DAAFE4

    oklch(80.9% 0.087 319.9)

  5. Step 400

    400 (this color)

    #D792E7

    oklch(75.8% 0.139 319.9)

  6. Step 500

    500

    #B75FCB

    oklch(63.1% 0.178 319.9)

  7. Step 600

    600

    #A242B8

    oklch(55.6% 0.193 319.7)

  8. Step 700

    700

    #8B329E

    oklch(49.1% 0.18 320.1)

  9. Step 800

    800

    #712B80

    oklch(42.7% 0.149 320.1)

  10. Step 900

    900

    #5B2867

    oklch(37.6% 0.116 319.6)

  11. Step 950

    950

    #36193C

    oklch(27.1% 0.072 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#D792E7 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)#87A6EA0.120
Deuteranopia (no green cones)#98AEE40.111
Tritanopia (no blue cones)#D89CB20.088
Achromatopsia (no color)#ABABAB0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #D792E7

    #D792E7

    oklch(75.8% 0.139 319.9)

  • #7FC66F

    #7FC66F

    oklch(75.9% 0.139 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D792E7

    #D792E7

    oklch(75.8% 0.139 319.9)

  • #AFA1FF

    #AFA1FF

    oklch(75.8% 0.133 289.7)

  • #F18ABD

    #F18ABD

    oklch(75.8% 0.138 349.8)

Open the analogous palette in the generator

Split complementary

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

  • #D792E7

    #D792E7

    oklch(75.8% 0.139 319.9)

  • #B6B741

    #B6B741

    oklch(75.6% 0.138 109.8)

  • #31CCA3

    #31CCA3

    oklch(75.7% 0.138 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D792E7

    #D792E7

    oklch(75.8% 0.139 319.9)

  • #DEA536

    #DEA536

    oklch(75.7% 0.139 79.9)

  • #00C8D0

    #00C8D0

    oklch(75.7% 0.129 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D792E7

    #D792E7

    oklch(75.8% 0.139 319.9)

  • #F6945A

    #F6945A

    oklch(75.8% 0.139 50)

  • #7FC66F

    #7FC66F

    oklch(75.9% 0.139 139.9)

  • #31C0F7

    #31C0F7

    oklch(75.9% 0.139 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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