#CD97F0

Closest named color: Baby Purple (#CA9BF7). oklch(76% 0.136 311.3), rgb(205, 151, 240).

Aa

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

About this color

#CD97F0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.136 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.013 away. Black text reads best on it, at 9.28:1.

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

Values

HEX#CD97F0
RGBrgb(205, 151, 240)
HSLhsl(276, 75%, 77%)
OKLCHoklch(76% 0.136 311.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 #CD97F0 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #CD97F0 9.28:1 AAA Lc 59.5 Large or bold text, headings
#CD97F0 text on white 2.26:1 Fails Lc 44.5 Non-text elements, placeholder text
#CD97F0 text on black 9.28:1 AAA Lc -57.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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FE

    oklch(93.6% 0.039 310.3)

  3. Step 200

    200

    #E9CCFE

    oklch(88.5% 0.074 310.9)

  4. Step 300

    300 (this color)

    #CD97F0

    oklch(76% 0.136 311.3)

  5. Step 400

    400

    #CB71FF

    oklch(70.7% 0.212 311.4)

  6. Step 500

    500

    #BE39FF

    oklch(63.1% 0.276 311.3)

  7. Step 600

    600

    #A600E6

    oklch(55.5% 0.279 311.1)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #600A85

    oklch(37.7% 0.181 311.5)

  11. Step 950

    950

    #380C4E

    oklch(27% 0.115 311.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD97F0 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)#86AAF30.104
Deuteranopia (no green cones)#93ADED0.095
Tritanopia (no blue cones)#C9A4B80.097
Achromatopsia (no color)#ACACAC0.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD97F0

    #CD97F0

    oklch(76% 0.136 311.3)

  • #92C363

    #92C363

    oklch(76.1% 0.137 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD97F0

    #CD97F0

    oklch(76% 0.136 311.3)

  • #A3A7FF

    #A3A7FF

    oklch(76% 0.126 281)

  • #EB8DCA

    #EB8DCA

    oklch(76% 0.136 341.5)

Open the analogous palette in the generator

Split complementary

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

  • #CD97F0

    #CD97F0

    oklch(76% 0.136 311.3)

  • #C4B33D

    #C4B33D

    oklch(76% 0.136 101)

  • #50CB95

    #50CB95

    oklch(75.9% 0.136 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD97F0

    #CD97F0

    oklch(76% 0.136 311.3)

  • #E6A142

    #E6A142

    oklch(75.9% 0.136 71.5)

  • #00CBC5

    #00CBC5

    oklch(76% 0.131 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD97F0

    #CD97F0

    oklch(76% 0.136 311.3)

  • #F9926B

    #F9926B

    oklch(76.1% 0.136 41.3)

  • #92C363

    #92C363

    oklch(76.1% 0.137 131.2)

  • #1BC4EE

    #1BC4EE

    oklch(76.1% 0.136 221.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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