#CC9EF2

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.126 308.8), rgb(204, 158, 242).

Aa

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

About this color

#CC9EF2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.126 and its hue 309°. 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.74:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.74:1
White text2.15:1

Values

HEX#CC9EF2
RGBrgb(204, 158, 242)
HSLhsl(273, 76%, 78%)
OKLCHoklch(77.2% 0.126 308.8)

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 #CC9EF2 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #CC9EF2 9.74:1 AAA Lc 61.7 Content text, not long reading
#CC9EF2 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#CC9EF2 text on black 9.74:1 AAA Lc -60.0 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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E6CDFD

    oklch(88.4% 0.07 308.5)

  4. Step 300

    300 (this color)

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  5. Step 400

    400

    #C576FE

    oklch(70.7% 0.202 309)

  6. Step 500

    500

    #B647FC

    oklch(63.1% 0.257 308.7)

  7. Step 600

    600

    #A207EB

    oklch(55.5% 0.28 308.7)

  8. Step 700

    700

    #8900C8

    oklch(49% 0.25 308.7)

  9. Step 800

    800

    #7102A5

    oklch(42.7% 0.216 308.9)

  10. Step 900

    900

    #5B1783

    oklch(37.7% 0.168 308.7)

  11. Step 950

    950

    #35114D

    oklch(27% 0.106 308.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC9EF2 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)#8EAFF50.091
Deuteranopia (no green cones)#98B1F00.084
Tritanopia (no blue cones)#C7AABD0.092
Achromatopsia (no color)#B1B1B10.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9EF2

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  • #9CC46A

    #9CC46A

    oklch(77.1% 0.126 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9EF2

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  • #A4ADFF

    #A4ADFF

    oklch(77.2% 0.117 278.5)

  • #E994D0

    #E994D0

    oklch(77.1% 0.127 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC9EF2

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  • #C9B64D

    #C9B64D

    oklch(77.2% 0.126 99.1)

  • #65CD97

    #65CD97

    oklch(77.2% 0.126 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9EF2

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  • #E9A554

    #E9A554

    oklch(77.2% 0.126 68.7)

  • #2CCEC5

    #2CCEC5

    oklch(77.2% 0.126 189)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9EF2

    #CC9EF2

    oklch(77.2% 0.126 308.8)

  • #F99778

    #F99778

    oklch(77.1% 0.126 38.3)

  • #9CC46A

    #9CC46A

    oklch(77.1% 0.126 128.7)

  • #38C7EB

    #38C7EB

    oklch(77.1% 0.126 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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