#DC97EB

Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.137 320.3), rgb(220, 151, 235).

Aa

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

About this color

#DC97EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.137 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.032 away. Black text reads best on it, at 9.66:1.

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

Values

HEX#DC97EB
RGBrgb(220, 151, 235)
HSLhsl(289, 68%, 76%)
OKLCHoklch(77.3% 0.137 320.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 #DC97EB 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #DC97EB 9.66:1 AAA Lc 61.4 Content text, not long reading
#DC97EB text on white 2.17:1 Fails Lc 42.5 Non-text elements, placeholder text
#DC97EB text on black 9.66: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

    #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)

    #DC97EB

    oklch(77.3% 0.137 320.3)

  5. Step 400

    400

    #DB68F3

    oklch(70.7% 0.22 320.4)

  6. Step 500

    500

    #CF28EE

    oklch(63.2% 0.281 320.4)

  7. Step 600

    600

    #B200CF

    oklch(55.5% 0.266 320.3)

  8. Step 700

    700

    #9700B0

    oklch(49.2% 0.236 320.3)

  9. Step 800

    800

    #7C0091

    oklch(42.6% 0.204 320.3)

  10. Step 900

    900

    #68007A

    oklch(37.6% 0.18 320.2)

  11. Step 950

    950

    #3E0848

    oklch(27.1% 0.116 320.6)

Export this scale for Tailwind in the Tailwind colors tool

#DC97EB 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)#8DABEE0.118
Deuteranopia (no green cones)#9EB2E80.108
Tritanopia (no blue cones)#DDA1B60.088
Achromatopsia (no color)#B0B0B00.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC97EB

    #DC97EB

    oklch(77.3% 0.137 320.3)

  • #83CA75

    #83CA75

    oklch(77.2% 0.137 140.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC97EB

    #DC97EB

    oklch(77.3% 0.137 320.3)

  • #B4A7FF

    #B4A7FF

    oklch(77.3% 0.124 289.9)

  • #F68FC1

    #F68FC1

    oklch(77.3% 0.137 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #DC97EB

    #DC97EB

    oklch(77.3% 0.137 320.3)

  • #BABC49

    #BABC49

    oklch(77.2% 0.137 110.2)

  • #3BD1A8

    #3BD1A8

    oklch(77.3% 0.138 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC97EB

    #DC97EB

    oklch(77.3% 0.137 320.3)

  • #E2AA3E

    #E2AA3E

    oklch(77.2% 0.137 80.2)

  • #00CED6

    #00CED6

    oklch(77.4% 0.132 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC97EB

    #DC97EB

    oklch(77.3% 0.137 320.3)

  • #FA9960

    #FA9960

    oklch(77.2% 0.137 50.1)

  • #83CA75

    #83CA75

    oklch(77.2% 0.137 140.4)

  • #3DC4FC

    #3DC4FC

    oklch(77.2% 0.138 230.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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