#D96BF8

Closest named color: Bright Lilac (#C95EFB). oklch(71.1% 0.22 318.3), rgb(217, 107, 248).

Aa

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

About this color

#D96BF8 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.220 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bright Lilac (#C95EFB), ΔE 0.041 away. Black text reads best on it, at 7.40:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.220)
Temperaturein between
Nearest nameBright Lilac (#C95EFB)
Black text7.40:1
White text2.83:1

Values

HEX#D96BF8
RGBrgb(217, 107, 248)
HSLhsl(287, 91%, 70%)
OKLCHoklch(71.1% 0.22 318.3)

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 #D96BF8 2.83:1 Fails Lc -59.1 Large or bold text, headings
Black text on #D96BF8 7.40:1 AAA Lc 50.2 Large or bold text, headings
#D96BF8 text on white 2.83:1 Fails Lc 53.8 Large or bold text, headings
#D96BF8 text on black 7.40:1 AAA Lc -48.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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #EFCAFA

    oklch(88.5% 0.076 318.4)

  4. Step 300

    300

    #E6A3FA

    oklch(80.9% 0.138 318.3)

  5. Step 400

    400 (this color)

    #D96BF8

    oklch(71.1% 0.22 318.3)

  6. Step 500

    500

    #CB2BF2

    oklch(63% 0.28 318.3)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B4

    oklch(49.2% 0.238 318.4)

  9. Step 800

    800

    #7B0095

    oklch(42.8% 0.207 318.4)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3C094A

    oklch(27% 0.116 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#D96BF8 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)#4A92FC0.206
Deuteranopia (no green cones)#729DF40.180
Tritanopia (no blue cones)#D981A80.139
Achromatopsia (no color)#9999990.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #D96BF8

    #D96BF8

    oklch(71.1% 0.22 318.3)

  • #4DBF06

    #4DBF06

    oklch(71% 0.219 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D96BF8

    #D96BF8

    oklch(71.1% 0.22 318.3)

  • #9F8FFF

    #9F8FFF

    oklch(71.2% 0.16 288.2)

  • #FE59B9

    #FE59B9

    oklch(71.1% 0.22 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #D96BF8

    #D96BF8

    oklch(71.1% 0.22 318.3)

  • #ABA800

    #ABA800

    oklch(71.1% 0.154 108.5)

  • #00BE91

    #00BE91

    oklch(71.2% 0.144 168.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D96BF8

    #D96BF8

    oklch(71.1% 0.22 318.3)

  • #D39400

    #D39400

    oklch(71% 0.148 78.3)

  • #00B8BD

    #00B8BD

    oklch(71% 0.121 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D96BF8

    #D96BF8

    oklch(71.1% 0.22 318.3)

  • #FD7300

    #FD7300

    oklch(71% 0.193 48.2)

  • #4DBF06

    #4DBF06

    oklch(71% 0.219 138.3)

  • #00B1E6

    #00B1E6

    oklch(71.1% 0.139 228.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D96BF8.

Similar named colors

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

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