#CD97E0

Closest named color: Baby Purple (#CA9BF7). oklch(75.3% 0.117 317.1), rgb(205, 151, 224).

Aa

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

About this color

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

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

Values

HEX#CD97E0
RGBrgb(205, 151, 224)
HSLhsl(284, 54%, 74%)
OKLCHoklch(75.3% 0.117 317.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 #CD97E0 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #CD97E0 9.09:1 AAA Lc 58.6 Large or bold text, headings
#CD97E0 text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#CD97E0 text on black 9.09:1 AAA Lc -56.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 400.

  1. Step 50

    50

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E4D1EB

    oklch(88.4% 0.041 317)

  4. Step 300

    300

    #D4B2E0

    oklch(80.8% 0.073 317.2)

  5. Step 400

    400 (this color)

    #CD97E0

    oklch(75.3% 0.117 317.1)

  6. Step 500

    500

    #AD69C5

    oklch(63% 0.151 316.8)

  7. Step 600

    600

    #994FB1

    oklch(55.7% 0.162 317.2)

  8. Step 700

    700

    #823F98

    oklch(49.1% 0.151 317.1)

  9. Step 800

    800

    #6A347B

    oklch(42.6% 0.126 317.5)

  10. Step 900

    900

    #562F63

    oklch(37.8% 0.096 317.2)

  11. Step 950

    950

    #321C3A

    oklch(27% 0.061 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#CD97E0 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)#8DA7E30.095
Deuteranopia (no green cones)#99ACDE0.088
Tritanopia (no blue cones)#CDA0B20.078
Achromatopsia (no color)#ABABAB0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD97E0

    #CD97E0

    oklch(75.3% 0.117 317.1)

  • #8BC075

    #8BC075

    oklch(75.2% 0.117 136.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD97E0

    #CD97E0

    oklch(75.3% 0.117 317.1)

  • #AAA3F5

    #AAA3F5

    oklch(75.3% 0.117 287.2)

  • #E590BD

    #E590BD

    oklch(75.4% 0.116 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #CD97E0

    #CD97E0

    oklch(75.3% 0.117 317.1)

  • #B7B455

    #B7B455

    oklch(75.3% 0.118 107.3)

  • #58C79F

    #58C79F

    oklch(75.4% 0.118 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD97E0

    #CD97E0

    oklch(75.3% 0.117 317.1)

  • #D8A552

    #D8A552

    oklch(75.3% 0.117 77.5)

  • #34C5C8

    #34C5C8

    oklch(75.2% 0.117 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD97E0

    #CD97E0

    oklch(75.3% 0.117 317.1)

  • #EC976C

    #EC976C

    oklch(75.4% 0.118 47.2)

  • #8BC075

    #8BC075

    oklch(75.2% 0.117 136.9)

  • #4EBDE8

    #4EBDE8

    oklch(75.2% 0.117 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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