#CD97F2

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.138 310.7), rgb(205, 151, 242).

Aa

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

About this color

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

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

Values

HEX#CD97F2
RGBrgb(205, 151, 242)
HSLhsl(276, 78%, 77%)
OKLCHoklch(76.1% 0.138 310.7)

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 #CD97F2 2.25:1 Fails Lc -49.2 Large or bold text, headings
Black text on #CD97F2 9.30:1 AAA Lc 59.6 Large or bold text, headings
#CD97F2 text on white 2.25:1 Fails Lc 44.4 Non-text elements, placeholder text
#CD97F2 text on black 9.30:1 AAA Lc -57.8 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FE

    oklch(93.6% 0.039 310.3)

  3. Step 200

    200

    #E9CCFF

    oklch(88.6% 0.075 310.4)

  4. Step 300

    300 (this color)

    #CD97F2

    oklch(76.1% 0.138 310.7)

  5. Step 400

    400

    #C972FF

    oklch(70.6% 0.21 310.6)

  6. Step 500

    500

    #BC3CFF

    oklch(63.1% 0.272 310.6)

  7. Step 600

    600

    #A600E8

    oklch(55.7% 0.281 310.7)

  8. Step 700

    700

    #8C00C4

    oklch(49.1% 0.247 310.8)

  9. Step 800

    800

    #7300A3

    oklch(42.7% 0.216 310.5)

  10. Step 900

    900

    #600787

    oklch(37.8% 0.184 310.9)

  11. Step 950

    950

    #380B4F

    oklch(27% 0.117 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD97F2 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)#86AAF50.104
Deuteranopia (no green cones)#92AEEF0.097
Tritanopia (no blue cones)#C9A4B90.099
Achromatopsia (no color)#ADADAD0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD97F2

    #CD97F2

    oklch(76.1% 0.138 310.7)

  • #93C361

    #93C361

    oklch(76.1% 0.138 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD97F2

    #CD97F2

    oklch(76.1% 0.138 310.7)

  • #A3A8FF

    #A3A8FF

    oklch(76.2% 0.124 280.5)

  • #EB8DCC

    #EB8DCC

    oklch(76.1% 0.137 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #CD97F2

    #CD97F2

    oklch(76.1% 0.138 310.7)

  • #C5B33A

    #C5B33A

    oklch(76.1% 0.138 100.6)

  • #50CC94

    #50CC94

    oklch(76.1% 0.138 160.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD97F2

    #CD97F2

    oklch(76.1% 0.138 310.7)

  • #E8A140

    #E8A140

    oklch(76.1% 0.138 71)

  • #00CBC5

    #00CBC5

    oklch(76% 0.131 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD97F2

    #CD97F2

    oklch(76.1% 0.138 310.7)

  • #FA916A

    #FA916A

    oklch(76% 0.138 40.9)

  • #93C361

    #93C361

    oklch(76.1% 0.138 130.6)

  • #09C4EE

    #09C4EE

    oklch(76% 0.138 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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