#CC9EE8

Closest named color: Baby Purple (#CA9BF7). oklch(76.7% 0.114 312.2), rgb(204, 158, 232).

Aa

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

About this color

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

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

Values

HEX#CC9EE8
RGBrgb(204, 158, 232)
HSLhsl(277, 62%, 76%)
OKLCHoklch(76.7% 0.114 312.2)

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 #CC9EE8 2.18:1 Fails Lc -47.6 Large or bold text, headings
Black text on #CC9EE8 9.62:1 AAA Lc 61.1 Content text, not long reading
#CC9EE8 text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#CC9EE8 text on black 9.62:1 AAA Lc -59.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 300.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300 (this color)

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  5. Step 400

    400

    #C67AF1

    oklch(70.7% 0.182 312.1)

  6. Step 500

    500

    #B84FEC

    oklch(63.1% 0.233 312.3)

  7. Step 600

    600

    #A326DA

    oklch(55.6% 0.253 312.1)

  8. Step 700

    700

    #8C12BD

    oklch(49.1% 0.235 312.3)

  9. Step 800

    800

    #721799

    oklch(42.8% 0.195 312.4)

  10. Step 900

    900

    #5C1E7A

    oklch(37.8% 0.152 312.1)

  11. Step 950

    950

    #361347

    oklch(26.9% 0.097 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#CC9EE8 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)#92ADEB0.085
Deuteranopia (no green cones)#9CB1E60.080
Tritanopia (no blue cones)#CAA8B90.081
Achromatopsia (no color)#AFAFAF0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9EE8

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  • #98C375

    #98C375

    oklch(76.8% 0.115 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9EE8

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  • #A8AAFA

    #A8AAFA

    oklch(76.7% 0.114 282.3)

  • #E696C8

    #E696C8

    oklch(76.8% 0.114 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #CC9EE8

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  • #C2B65B

    #C2B65B

    oklch(76.8% 0.114 101.9)

  • #68CA9D

    #68CA9D

    oklch(76.7% 0.114 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9EE8

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  • #E0A75C

    #E0A75C

    oklch(76.7% 0.114 72.2)

  • #44CAC6

    #44CAC6

    oklch(76.7% 0.114 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9EE8

    #CC9EE8

    oklch(76.7% 0.114 312.2)

  • #F19B79

    #F19B79

    oklch(76.9% 0.114 42.3)

  • #98C375

    #98C375

    oklch(76.8% 0.115 132.1)

  • #51C3E7

    #51C3E7

    oklch(76.6% 0.114 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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