#CC9AEB

Closest named color: Baby Purple (#CA9BF7). oklch(76.2% 0.124 311.9), rgb(204, 154, 235).

Aa

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

About this color

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

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

Values

HEX#CC9AEB
RGBrgb(204, 154, 235)
HSLhsl(277, 67%, 76%)
OKLCHoklch(76.2% 0.124 311.9)

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 #CC9AEB 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #CC9AEB 9.38:1 AAA Lc 60.0 Large or bold text, headings
#CC9AEB text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#CC9AEB text on black 9.38:1 AAA Lc -58.2 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

    #F2E3FC

    oklch(93.5% 0.037 312.1)

  3. Step 200

    200

    #E9CDFB

    oklch(88.6% 0.069 312.1)

  4. Step 300

    300 (this color)

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  5. Step 400

    400

    #C975F9

    oklch(70.7% 0.199 311.7)

  6. Step 500

    500

    #BB45F5

    oklch(63.1% 0.254 311.9)

  7. Step 600

    600

    #A705E4

    oklch(55.6% 0.277 311.8)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7401A0

    oklch(42.7% 0.213 311.8)

  10. Step 900

    900

    #5E167F

    oklch(37.7% 0.166 312)

  11. Step 950

    950

    #37104A

    oklch(26.9% 0.105 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC9AEB 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)#8CABEE0.094
Deuteranopia (no green cones)#97AEE90.087
Tritanopia (no blue cones)#C9A5B80.088
Achromatopsia (no color)#ADADAD0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9AEB

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  • #94C26D

    #94C26D

    oklch(76.1% 0.124 132)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9AEB

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  • #A5A7FF

    #A5A7FF

    oklch(76.1% 0.125 282)

  • #E891C8

    #E891C8

    oklch(76.2% 0.125 342)

Open the analogous palette in the generator

Split complementary

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

  • #CC9AEB

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  • #C2B44D

    #C2B44D

    oklch(76.2% 0.125 101.6)

  • #5DCA99

    #5DCA99

    oklch(76.2% 0.124 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9AEB

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  • #E2A450

    #E2A450

    oklch(76.2% 0.124 72.2)

  • #27CAC6

    #27CAC6

    oklch(76.1% 0.124 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9AEB

    #CC9AEB

    oklch(76.2% 0.124 311.9)

  • #F49671

    #F49671

    oklch(76.2% 0.124 42.1)

  • #94C26D

    #94C26D

    oklch(76.1% 0.124 132)

  • #3DC3EA

    #3DC3EA

    oklch(76.2% 0.124 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 #CC9AEB, closest first.

Similar named colors

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

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