#DC97EF

Closest named color: Baby Purple (#CA9BF7). oklch(77.4% 0.142 318.8), rgb(220, 151, 239).

Aa

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

About this color

#DC97EF is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.142 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.71:1.

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

Values

HEX#DC97EF
RGBrgb(220, 151, 239)
HSLhsl(287, 73%, 76%)
OKLCHoklch(77.4% 0.142 318.8)

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 #DC97EF 2.16:1 Fails Lc -47.0 Large or bold text, headings
Black text on #DC97EF 9.71:1 AAA Lc 61.6 Content text, not long reading
#DC97EF text on white 2.16:1 Fails Lc 42.3 Non-text elements, placeholder text
#DC97EF text on black 9.71:1 AAA Lc -59.9 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)

    #DC97EF

    oklch(77.4% 0.142 318.8)

  5. Step 400

    400

    #DA67F8

    oklch(70.8% 0.226 318.9)

  6. Step 500

    500

    #CE20F5

    oklch(63.1% 0.29 318.7)

  7. Step 600

    600

    #B100D3

    oklch(55.7% 0.268 319)

  8. Step 700

    700

    #9500B3

    oklch(49.1% 0.237 318.7)

  9. Step 800

    800

    #7B0094

    oklch(42.7% 0.206 318.8)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3D064A

    oklch(26.9% 0.12 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#DC97EF 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.121
Deuteranopia (no green cones)#9CB3EC0.111
Tritanopia (no blue cones)#DDA2B80.092
Achromatopsia (no color)#B0B0B00.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC97EF

    #DC97EF

    oklch(77.4% 0.142 318.8)

  • #85CB70

    #85CB70

    oklch(77.4% 0.142 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC97EF

    #DC97EF

    oklch(77.4% 0.142 318.8)

  • #B3A8FF

    #B3A8FF

    oklch(77.4% 0.123 289)

  • #F78EC4

    #F78EC4

    oklch(77.4% 0.141 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #DC97EF

    #DC97EF

    oklch(77.4% 0.142 318.8)

  • #BDBC42

    #BDBC42

    oklch(77.3% 0.142 108.8)

  • #38D2A6

    #38D2A6

    oklch(77.4% 0.141 169)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC97EF

    #DC97EF

    oklch(77.4% 0.142 318.8)

  • #E6A939

    #E6A939

    oklch(77.4% 0.142 78.4)

  • #00CED5

    #00CED5

    oklch(77.3% 0.131 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC97EF

    #DC97EF

    oklch(77.4% 0.142 318.8)

  • #FD985F

    #FD985F

    oklch(77.4% 0.141 49)

  • #85CB70

    #85CB70

    oklch(77.4% 0.142 138.8)

  • #30C6FD

    #30C6FD

    oklch(77.5% 0.142 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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