#CC9FEC

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.117 310.5), rgb(204, 159, 236).

Aa

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

About this color

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

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

Values

HEX#CC9FEC
RGBrgb(204, 159, 236)
HSLhsl(275, 67%, 77%)
OKLCHoklch(77.1% 0.117 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 #CC9FEC 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #CC9FEC 9.73:1 AAA Lc 61.7 Content text, not long reading
#CC9FEC text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#CC9FEC text on black 9.73:1 AAA Lc -59.9 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

    #F1E4FB

    oklch(93.6% 0.034 310.7)

  3. Step 200

    200

    #E7CEFA

    oklch(88.6% 0.065 310.5)

  4. Step 300

    300 (this color)

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  5. Step 400

    400

    #C579F6

    oklch(70.7% 0.189 310.5)

  6. Step 500

    500

    #B64EF1

    oklch(63.1% 0.239 310.6)

  7. Step 600

    600

    #A222E0

    oklch(55.6% 0.26 310.5)

  8. Step 700

    700

    #8B0BC2

    oklch(49.1% 0.242 310.8)

  9. Step 800

    800

    #71149D

    oklch(42.8% 0.2 310.8)

  10. Step 900

    900

    #5B1C7D

    oklch(37.7% 0.157 310.5)

  11. Step 950

    950

    #351349

    oklch(26.9% 0.099 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#CC9FEC 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)#91AEEF0.086
Deuteranopia (no green cones)#9BB1EA0.079
Tritanopia (no blue cones)#C9A9BB0.083
Achromatopsia (no color)#B0B0B00.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9FEC

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  • #9BC473

    #9BC473

    oklch(77.2% 0.117 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9FEC

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  • #A7ACFE

    #A7ACFE

    oklch(77.2% 0.117 280.6)

  • #E796CB

    #E796CB

    oklch(77% 0.118 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC9FEC

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  • #C5B658

    #C5B658

    oklch(77% 0.117 100.4)

  • #69CC9B

    #69CC9B

    oklch(77.2% 0.118 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9FEC

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  • #E4A75C

    #E4A75C

    oklch(77.1% 0.117 70.2)

  • #40CCC6

    #40CCC6

    oklch(77.1% 0.117 190.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9FEC

    #CC9FEC

    oklch(77.1% 0.117 310.5)

  • #F49A7A

    #F49A7A

    oklch(77.1% 0.117 40.3)

  • #9BC473

    #9BC473

    oklch(77.2% 0.117 130.6)

  • #4CC5E8

    #4CC5E8

    oklch(77% 0.117 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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