#CD97EB

Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.13 312.9), rgb(205, 151, 235).

Aa

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

About this color

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

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

Values

HEX#CD97EB
RGBrgb(205, 151, 235)
HSLhsl(279, 68%, 76%)
OKLCHoklch(75.8% 0.13 312.9)

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 #CD97EB 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #CD97EB 9.22:1 AAA Lc 59.2 Large or bold text, headings
#CD97EB text on white 2.27:1 Fails Lc 44.8 Non-text elements, placeholder text
#CD97EB text on black 9.22:1 AAA Lc -57.3 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E4D1EF

    oklch(88.5% 0.045 313.3)

  4. Step 300

    300

    #D3B2E7

    oklch(81% 0.081 312.5)

  5. Step 400

    400 (this color)

    #CD97EB

    oklch(75.8% 0.13 312.9)

  6. Step 500

    500

    #AC67D0

    oklch(63.2% 0.166 312.9)

  7. Step 600

    600

    #974BBD

    oklch(55.6% 0.18 312.8)

  8. Step 700

    700

    #813BA3

    oklch(49.1% 0.168 312.9)

  9. Step 800

    800

    #693284

    oklch(42.8% 0.139 313)

  10. Step 900

    900

    #552D6A

    oklch(37.7% 0.108 312.6)

  11. Step 950

    950

    #321B3E

    oklch(27% 0.069 313)

Export this scale for Tailwind in the Tailwind colors tool

#CD97EB 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)#89A9EE0.101
Deuteranopia (no green cones)#95ADE90.093
Tritanopia (no blue cones)#CBA2B60.090
Achromatopsia (no color)#ACACAC0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD97EB

    #CD97EB

    oklch(75.8% 0.13 312.9)

  • #90C269

    #90C269

    oklch(75.8% 0.13 132.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD97EB

    #CD97EB

    oklch(75.8% 0.13 312.9)

  • #A5A5FF

    #A5A5FF

    oklch(75.8% 0.128 282.9)

  • #E98EC6

    #E98EC6

    oklch(75.8% 0.13 343)

Open the analogous palette in the generator

Split complementary

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

  • #CD97EB

    #CD97EB

    oklch(75.8% 0.13 312.9)

  • #C0B346

    #C0B346

    oklch(75.7% 0.129 102.5)

  • #53CA98

    #53CA98

    oklch(75.8% 0.13 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD97EB

    #CD97EB

    oklch(75.8% 0.13 312.9)

  • #E2A247

    #E2A247

    oklch(75.7% 0.13 72.9)

  • #00CAC7

    #00CAC7

    oklch(75.9% 0.13 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD97EB

    #CD97EB

    oklch(75.8% 0.13 312.9)

  • #F5936B

    #F5936B

    oklch(75.7% 0.131 42.7)

  • #90C269

    #90C269

    oklch(75.8% 0.13 132.8)

  • #31C2EC

    #31C2EC

    oklch(75.8% 0.13 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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