#CC97FA

Closest named color: Baby Purple (#CA9BF7). oklch(76.3% 0.147 307.9), rgb(204, 151, 250).

Aa

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

About this color

#CC97FA is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.147 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.012 away. Black text reads best on it, at 9.37:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.147)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.37:1
White text2.24:1

Values

HEX#CC97FA
RGBrgb(204, 151, 250)
HSLhsl(272, 91%, 79%)
OKLCHoklch(76.3% 0.147 307.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 #CC97FA 2.24:1 Fails Lc -48.8 Large or bold text, headings
Black text on #CC97FA 9.37:1 AAA Lc 60.0 Large or bold text, headings
#CC97FA text on white 2.24:1 Fails Lc 44.0 Non-text elements, placeholder text
#CC97FA text on black 9.37:1 AAA Lc -58.1 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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E3FF

    oklch(93.5% 0.04 308)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #CC97FA

    oklch(76.3% 0.147 307.9)

  5. Step 400

    400

    #C377FF

    oklch(70.7% 0.201 307.9)

  6. Step 500

    500

    #B546FF

    oklch(63.1% 0.261 307.8)

  7. Step 600

    600

    #A100EE

    oklch(55.5% 0.284 307.8)

  8. Step 700

    700

    #8800CA

    oklch(49.1% 0.251 307.8)

  9. Step 800

    800

    #7000A7

    oklch(42.6% 0.218 308)

  10. Step 900

    900

    #5E008D

    oklch(37.7% 0.193 308)

  11. Step 950

    950

    #370854

    oklch(27% 0.125 307.5)

Export this scale for Tailwind in the Tailwind colors tool

#CC97FA 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)#82ABFE0.107
Deuteranopia (no green cones)#8EAEF70.099
Tritanopia (no blue cones)#C6A6BD0.107
Achromatopsia (no color)#ADADAD0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC97FA

    #CC97FA

    oklch(76.3% 0.147 307.9)

  • #97C356

    #97C356

    oklch(76.3% 0.146 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC97FA

    #CC97FA

    oklch(76.3% 0.147 307.9)

  • #A0AAFF

    #A0AAFF

    oklch(76.3% 0.122 278)

  • #ED8BD3

    #ED8BD3

    oklch(76.3% 0.148 337.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC97FA

    #CC97FA

    oklch(76.3% 0.147 307.9)

  • #CBB228

    #CBB228

    oklch(76.3% 0.147 98.1)

  • #4DCE8D

    #4DCE8D

    oklch(76.4% 0.148 157.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC97FA

    #CC97FA

    oklch(76.3% 0.147 307.9)

  • #EF9E38

    #EF9E38

    oklch(76.3% 0.147 67.8)

  • #00CDC2

    #00CDC2

    oklch(76.4% 0.133 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC97FA

    #CC97FA

    oklch(76.3% 0.147 307.9)

  • #FF8F6C

    #FF8F6C

    oklch(76.4% 0.144 38.1)

  • #97C356

    #97C356

    oklch(76.3% 0.146 127.8)

  • #00C6EC

    #00C6EC

    oklch(76.3% 0.137 218.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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