#CC9BEF

Closest named color: Baby Purple (#CA9BF7). oklch(76.5% 0.128 310.3), rgb(204, 155, 239).

Aa

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

About this color

#CC9BEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.128 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.012 away. Black text reads best on it, at 9.50:1.

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

Values

HEX#CC9BEF
RGBrgb(204, 155, 239)
HSLhsl(275, 72%, 77%)
OKLCHoklch(76.5% 0.128 310.3)

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 #CC9BEF 2.20:1 Fails Lc -48.2 Large or bold text, headings
Black text on #CC9BEF 9.50:1 AAA Lc 60.5 Content text, not long reading
#CC9BEF text on white 2.20:1 Fails Lc 43.4 Non-text elements, placeholder text
#CC9BEF text on black 9.50:1 AAA Lc -58.8 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FD

    oklch(93.5% 0.038 311.1)

  3. Step 200

    200

    #E8CDFD

    oklch(88.6% 0.071 310.2)

  4. Step 300

    300 (this color)

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  5. Step 400

    400

    #C874FD

    oklch(70.7% 0.205 310.5)

  6. Step 500

    500

    #BA43FB

    oklch(63.2% 0.262 310.4)

  7. Step 600

    600

    #A500E8

    oklch(55.6% 0.28 310.4)

  8. Step 700

    700

    #8B00C5

    oklch(49.1% 0.248 310.2)

  9. Step 800

    800

    #7300A3

    oklch(42.7% 0.216 310.5)

  10. Step 900

    900

    #5D1482

    oklch(37.6% 0.17 310.4)

  11. Step 950

    950

    #36104C

    oklch(26.9% 0.107 310)

Export this scale for Tailwind in the Tailwind colors tool

#CC9BEF 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)#8BACF20.095
Deuteranopia (no green cones)#96AFED0.087
Tritanopia (no blue cones)#C8A7BA0.092
Achromatopsia (no color)#AEAEAE0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9BEF

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  • #97C369

    #97C369

    oklch(76.5% 0.128 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9BEF

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  • #A4A9FF

    #A4A9FF

    oklch(76.4% 0.123 280.5)

  • #E991CC

    #E991CC

    oklch(76.5% 0.129 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #CC9BEF

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  • #C5B44A

    #C5B44A

    oklch(76.4% 0.127 100.2)

  • #5ECC97

    #5ECC97

    oklch(76.6% 0.128 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9BEF

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  • #E6A44F

    #E6A44F

    oklch(76.6% 0.128 70.6)

  • #20CCC5

    #20CCC5

    oklch(76.5% 0.127 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9BEF

    #CC9BEF

    oklch(76.5% 0.128 310.3)

  • #F79573

    #F79573

    oklch(76.5% 0.128 39.8)

  • #97C369

    #97C369

    oklch(76.5% 0.128 130.3)

  • #35C5EB

    #35C5EB

    oklch(76.6% 0.128 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 #CC9BEF, closest first.

Similar named colors

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

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