#D791EB

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.145 318.5), rgb(215, 145, 235).

Aa

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

About this color

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

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

Values

HEX#D791EB
RGBrgb(215, 145, 235)
HSLhsl(287, 69%, 75%)
OKLCHoklch(75.8% 0.145 318.5)

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 #D791EB 2.29:1 Fails Lc -50.0 Large or bold text, headings
Black text on #D791EB 9.13:1 AAA Lc 58.8 Large or bold text, headings
#D791EB text on white 2.29:1 Fails Lc 45.1 Large or bold text, headings
#D791EB text on black 9.13: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE7

    oklch(80.9% 0.092 318.4)

  5. Step 400

    400 (this color)

    #D791EB

    oklch(75.8% 0.145 318.5)

  6. Step 500

    500

    #B75DD0

    oklch(63.1% 0.186 318.5)

  7. Step 600

    600

    #A23FBD

    oklch(55.6% 0.202 318.3)

  8. Step 700

    700

    #8B2FA3

    oklch(49.1% 0.188 318.5)

  9. Step 800

    800

    #712984

    oklch(42.7% 0.156 318.5)

  10. Step 900

    900

    #5B276A

    oklch(37.6% 0.121 318.1)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#D791EB 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)#84A6EE0.124
Deuteranopia (no green cones)#96ADE80.112
Tritanopia (no blue cones)#D79CB30.094
Achromatopsia (no color)#ABABAB0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D791EB

    #D791EB

    oklch(75.8% 0.145 318.5)

  • #7FC669

    #7FC669

    oklch(75.8% 0.145 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D791EB

    #D791EB

    oklch(75.8% 0.145 318.5)

  • #ADA2FF

    #ADA2FF

    oklch(75.8% 0.132 288.3)

  • #F388C0

    #F388C0

    oklch(75.9% 0.145 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #D791EB

    #D791EB

    oklch(75.8% 0.145 318.5)

  • #B9B736

    #B9B736

    oklch(75.8% 0.145 108.5)

  • #27CDA0

    #27CDA0

    oklch(75.7% 0.144 168.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D791EB

    #D791EB

    oklch(75.8% 0.145 318.5)

  • #E2A42C

    #E2A42C

    oklch(75.9% 0.145 78.7)

  • #00C9CE

    #00C9CE

    oklch(75.9% 0.129 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D791EB

    #D791EB

    oklch(75.8% 0.145 318.5)

  • #F99258

    #F99258

    oklch(75.8% 0.144 48.8)

  • #7FC669

    #7FC669

    oklch(75.8% 0.145 138.6)

  • #19C1F9

    #19C1F9

    oklch(75.9% 0.145 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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