#CC9CEE

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.125 310.5), rgb(204, 156, 238).

Aa

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

About this color

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

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

Values

HEX#CC9CEE
RGBrgb(204, 156, 238)
HSLhsl(275, 71%, 77%)
OKLCHoklch(76.7% 0.125 310.5)

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 #CC9CEE 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #CC9CEE 9.55:1 AAA Lc 60.8 Content text, not long reading
#CC9CEE text on white 2.19:1 Fails Lc 43.1 Non-text elements, placeholder text
#CC9CEE text on black 9.55:1 AAA Lc -59.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

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E8CDFC

    oklch(88.6% 0.07 310.7)

  4. Step 300

    300 (this color)

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  5. Step 400

    400

    #C776FB

    oklch(70.7% 0.199 310.4)

  6. Step 500

    500

    #B946F8

    oklch(63.1% 0.255 310.6)

  7. Step 600

    600

    #A509E7

    oklch(55.7% 0.277 310.5)

  8. Step 700

    700

    #8B00C5

    oklch(49.1% 0.248 310.2)

  9. Step 800

    800

    #7303A2

    oklch(42.7% 0.213 310.7)

  10. Step 900

    900

    #5D1781

    oklch(37.8% 0.167 310.6)

  11. Step 950

    950

    #36114B

    oklch(27% 0.104 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC9CEE 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)#8DADF10.093
Deuteranopia (no green cones)#98B0EC0.085
Tritanopia (no blue cones)#C8A7BA0.089
Achromatopsia (no color)#AFAFAF0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9CEE

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  • #98C36C

    #98C36C

    oklch(76.6% 0.124 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9CEE

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  • #A5AAFF

    #A5AAFF

    oklch(76.7% 0.121 280.5)

  • #E893CB

    #E893CB

    oklch(76.7% 0.124 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC9CEE

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  • #C5B54E

    #C5B54E

    oklch(76.7% 0.125 100.5)

  • #61CB98

    #61CB98

    oklch(76.5% 0.124 160.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9CEE

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  • #E5A452

    #E5A452

    oklch(76.5% 0.125 70.3)

  • #2BCCC5

    #2BCCC5

    oklch(76.6% 0.125 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9CEE

    #CC9CEE

    oklch(76.7% 0.125 310.5)

  • #F69774

    #F69774

    oklch(76.7% 0.125 40.9)

  • #98C36C

    #98C36C

    oklch(76.6% 0.124 130.4)

  • #3CC5EA

    #3CC5EA

    oklch(76.7% 0.125 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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