#DB97EF

Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.141 318.3), rgb(219, 151, 239).

Aa

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

About this color

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

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

Values

HEX#DB97EF
RGBrgb(219, 151, 239)
HSLhsl(286, 73%, 76%)
OKLCHoklch(77.3% 0.141 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 #DB97EF 2.16:1 Fails Lc -47.2 Large or bold text, headings
Black text on #DB97EF 9.68:1 AAA Lc 61.5 Content text, not long reading
#DB97EF text on white 2.16:1 Fails Lc 42.5 Non-text elements, placeholder text
#DB97EF text on black 9.68:1 AAA Lc -59.7 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FC

    oklch(93.7% 0.041 318.4)

  3. Step 200

    200

    #F0C9FB

    oklch(88.5% 0.079 318.7)

  4. Step 300

    300 (this color)

    #DB97EF

    oklch(77.3% 0.141 318.3)

  5. Step 400

    400

    #D967F9

    oklch(70.7% 0.226 318.3)

  6. Step 500

    500

    #CD23F5

    oklch(63.1% 0.288 318.4)

  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

    #3D074A

    oklch(27% 0.119 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#DB97EF 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)#8BACF20.119
Deuteranopia (no green cones)#9BB2EC0.109
Tritanopia (no blue cones)#DBA2B80.092
Achromatopsia (no color)#B0B0B00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB97EF

    #DB97EF

    oklch(77.3% 0.141 318.3)

  • #86CA70

    #86CA70

    oklch(77.2% 0.14 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB97EF

    #DB97EF

    oklch(77.3% 0.141 318.3)

  • #B2A8FF

    #B2A8FF

    oklch(77.3% 0.123 288.4)

  • #F78EC5

    #F78EC5

    oklch(77.4% 0.142 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #DB97EF

    #DB97EF

    oklch(77.3% 0.141 318.3)

  • #BEBC42

    #BEBC42

    oklch(77.4% 0.141 108.4)

  • #3AD2A5

    #3AD2A5

    oklch(77.5% 0.141 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB97EF

    #DB97EF

    oklch(77.3% 0.141 318.3)

  • #E6A93A

    #E6A93A

    oklch(77.4% 0.141 78.3)

  • #00CED4

    #00CED4

    oklch(77.3% 0.131 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB97EF

    #DB97EF

    oklch(77.3% 0.141 318.3)

  • #FD9860

    #FD9860

    oklch(77.4% 0.141 48.7)

  • #86CA70

    #86CA70

    oklch(77.2% 0.14 138.4)

  • #2FC6FC

    #2FC6FC

    oklch(77.4% 0.141 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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