#CC9BEA

Closest named color: Baby Purple (#CA9BF7). oklch(76.3% 0.122 312), rgb(204, 155, 234).

Aa

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

About this color

#CC9BEA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.122 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.019 away. Black text reads best on it, at 9.44:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.44:1
White text2.22:1

Values

HEX#CC9BEA
RGBrgb(204, 155, 234)
HSLhsl(277, 65%, 76%)
OKLCHoklch(76.3% 0.122 312)

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 #CC9BEA 2.22:1 Fails Lc -48.5 Large or bold text, headings
Black text on #CC9BEA 9.44:1 AAA Lc 60.3 Content text, not long reading
#CC9BEA text on white 2.22:1 Fails Lc 43.7 Non-text elements, placeholder text
#CC9BEA text on black 9.44:1 AAA Lc -58.5 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

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDFA

    oklch(88.5% 0.067 311.8)

  4. Step 300

    300 (this color)

    #CC9BEA

    oklch(76.3% 0.122 312)

  5. Step 400

    400

    #C976F7

    oklch(70.7% 0.196 312.1)

  6. Step 500

    500

    #BA48F3

    oklch(63.1% 0.249 311.9)

  7. Step 600

    600

    #A613E1

    oklch(55.6% 0.27 312)

  8. Step 700

    700

    #8D00C1

    oklch(49% 0.245 312)

  9. Step 800

    800

    #74099E

    oklch(42.8% 0.208 312.2)

  10. Step 900

    900

    #5D187E

    oklch(37.6% 0.163 311.7)

  11. Step 950

    950

    #37114A

    oklch(27% 0.104 312)

Export this scale for Tailwind in the Tailwind colors tool

#CC9BEA 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)#8DABED0.092
Deuteranopia (no green cones)#99AFE80.085
Tritanopia (no blue cones)#C9A6B80.086
Achromatopsia (no color)#AEAEAE0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9BEA

    #CC9BEA

    oklch(76.3% 0.122 312)

  • #95C26F

    #95C26F

    oklch(76.2% 0.121 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9BEA

    #CC9BEA

    oklch(76.3% 0.122 312)

  • #A6A8FD

    #A6A8FD

    oklch(76.3% 0.121 282.1)

  • #E792C8

    #E792C8

    oklch(76.3% 0.122 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #CC9BEA

    #CC9BEA

    oklch(76.3% 0.122 312)

  • #C1B551

    #C1B551

    oklch(76.3% 0.122 102.5)

  • #60CA9A

    #60CA9A

    oklch(76.3% 0.122 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9BEA

    #CC9BEA

    oklch(76.3% 0.122 312)

  • #E2A553

    #E2A553

    oklch(76.4% 0.122 72.2)

  • #31CAC6

    #31CAC6

    oklch(76.3% 0.121 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9BEA

    #CC9BEA

    oklch(76.3% 0.122 312)

  • #F39773

    #F39773

    oklch(76.3% 0.122 42)

  • #95C26F

    #95C26F

    oklch(76.2% 0.121 131.9)

  • #43C3E9

    #43C3E9

    oklch(76.3% 0.121 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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