#DB97ED

Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.139 319.1), rgb(219, 151, 237).

Aa

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

About this color

#DB97ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.139 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.030 away. Black text reads best on it, at 9.66:1.

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

Values

HEX#DB97ED
RGBrgb(219, 151, 237)
HSLhsl(287, 70%, 76%)
OKLCHoklch(77.3% 0.139 319.1)

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 #DB97ED 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #DB97ED 9.66:1 AAA Lc 61.4 Content text, not long reading
#DB97ED text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#DB97ED text on black 9.66:1 AAA Lc -59.6 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

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #F0C9FA

    oklch(88.4% 0.078 319.3)

  4. Step 300

    300 (this color)

    #DB97ED

    oklch(77.3% 0.139 319.1)

  5. Step 400

    400

    #D968F6

    oklch(70.7% 0.222 319)

  6. Step 500

    500

    #CD26F2

    oklch(63% 0.284 319)

  7. Step 600

    600

    #B100D3

    oklch(55.7% 0.268 319)

  8. Step 700

    700

    #9500B2

    oklch(49% 0.236 319)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #67007C

    oklch(37.6% 0.182 318.9)

  11. Step 950

    950

    #3D0849

    oklch(27% 0.116 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DB97ED 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)#8BABF00.119
Deuteranopia (no green cones)#9CB2EA0.109
Tritanopia (no blue cones)#DCA1B70.090
Achromatopsia (no color)#B0B0B00.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB97ED

    #DB97ED

    oklch(77.3% 0.139 319.1)

  • #85CA72

    #85CA72

    oklch(77.2% 0.139 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB97ED

    #DB97ED

    oklch(77.3% 0.139 319.1)

  • #B3A7FF

    #B3A7FF

    oklch(77.2% 0.124 289.4)

  • #F68EC3

    #F68EC3

    oklch(77.2% 0.14 349)

Open the analogous palette in the generator

Split complementary

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

  • #DB97ED

    #DB97ED

    oklch(77.3% 0.139 319.1)

  • #BCBC45

    #BCBC45

    oklch(77.3% 0.139 109.3)

  • #3BD1A6

    #3BD1A6

    oklch(77.3% 0.139 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB97ED

    #DB97ED

    oklch(77.3% 0.139 319.1)

  • #E4A93C

    #E4A93C

    oklch(77.2% 0.139 78.9)

  • #00CED5

    #00CED5

    oklch(77.3% 0.131 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB97ED

    #DB97ED

    oklch(77.3% 0.139 319.1)

  • #FB9860

    #FB9860

    oklch(77.1% 0.139 49.2)

  • #85CA72

    #85CA72

    oklch(77.2% 0.139 139.1)

  • #36C5FB

    #36C5FB

    oklch(77.3% 0.139 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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