#DB97EC

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.138 319.4), rgb(219, 151, 236).

Aa

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

About this color

#DB97EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.138 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.64:1.

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

Values

HEX#DB97EC
RGBrgb(219, 151, 236)
HSLhsl(288, 69%, 76%)
OKLCHoklch(77.2% 0.138 319.4)

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 #DB97EC 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #DB97EC 9.64:1 AAA Lc 61.3 Content text, not long reading
#DB97EC text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#DB97EC text on black 9.64: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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #F0C9F9

    oklch(88.4% 0.077 319.9)

  4. Step 300

    300 (this color)

    #DB97EC

    oklch(77.2% 0.138 319.4)

  5. Step 400

    400

    #DA68F5

    oklch(70.7% 0.222 319.6)

  6. Step 500

    500

    #CD28F0

    oklch(63% 0.282 319.4)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0093

    oklch(42.8% 0.206 319.6)

  10. Step 900

    900

    #68007C

    oklch(37.8% 0.182 319.4)

  11. Step 950

    950

    #3D0849

    oklch(27% 0.116 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#DB97EC 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)#8CABEF0.118
Deuteranopia (no green cones)#9DB2E90.108
Tritanopia (no blue cones)#DCA1B70.088
Achromatopsia (no color)#B0B0B00.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB97EC

    #DB97EC

    oklch(77.2% 0.138 319.4)

  • #85CA73

    #85CA73

    oklch(77.2% 0.138 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB97EC

    #DB97EC

    oklch(77.2% 0.138 319.4)

  • #B3A7FF

    #B3A7FF

    oklch(77.2% 0.124 289.4)

  • #F68FC2

    #F68FC2

    oklch(77.3% 0.138 349.7)

Open the analogous palette in the generator

Split complementary

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

  • #DB97EC

    #DB97EC

    oklch(77.2% 0.138 319.4)

  • #BBBC47

    #BBBC47

    oklch(77.2% 0.138 109.7)

  • #3CD1A6

    #3CD1A6

    oklch(77.3% 0.139 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB97EC

    #DB97EC

    oklch(77.2% 0.138 319.4)

  • #E3AA3D

    #E3AA3D

    oklch(77.3% 0.138 79.9)

  • #00CDD5

    #00CDD5

    oklch(77.1% 0.131 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB97EC

    #DB97EC

    oklch(77.2% 0.138 319.4)

  • #FB9960

    #FB9960

    oklch(77.3% 0.138 49.8)

  • #85CA73

    #85CA73

    oklch(77.2% 0.138 139.3)

  • #39C4FB

    #39C4FB

    oklch(77.1% 0.138 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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