#CC9BEB

Closest named color: Baby Purple (#CA9BF7). oklch(76.4% 0.123 311.7), rgb(204, 155, 235).

Aa

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

About this color

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

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

Values

HEX#CC9BEB
RGBrgb(204, 155, 235)
HSLhsl(277, 67%, 76%)
OKLCHoklch(76.4% 0.123 311.7)

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 #CC9BEB 2.22:1 Fails Lc -48.4 Large or bold text, headings
Black text on #CC9BEB 9.45:1 AAA Lc 60.3 Content text, not long reading
#CC9BEB text on white 2.22:1 Fails Lc 43.6 Non-text elements, placeholder text
#CC9BEB text on black 9.45: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

    #F2E4FC

    oklch(93.7% 0.035 311.4)

  3. Step 200

    200

    #E8CDFB

    oklch(88.5% 0.068 311.3)

  4. Step 300

    300 (this color)

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  5. Step 400

    400

    #C876F8

    oklch(70.7% 0.196 311.5)

  6. Step 500

    500

    #BA47F4

    oklch(63.1% 0.251 311.7)

  7. Step 600

    600

    #A60FE3

    oklch(55.6% 0.273 311.6)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #73069F

    oklch(42.6% 0.21 311.6)

  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

#CC9BEB 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)#8DABEE0.092
Deuteranopia (no green cones)#98AFE90.086
Tritanopia (no blue cones)#C9A6B80.088
Achromatopsia (no color)#AEAEAE0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9BEB

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  • #95C26E

    #95C26E

    oklch(76.2% 0.122 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9BEB

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  • #A5A8FE

    #A5A8FE

    oklch(76.3% 0.123 281.5)

  • #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°).

  • #CC9BEB

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  • #C2B550

    #C2B550

    oklch(76.4% 0.123 102)

  • #5FCA9A

    #5FCA9A

    oklch(76.3% 0.122 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9BEB

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  • #E2A453

    #E2A453

    oklch(76.2% 0.122 71.4)

  • #2ECBC6

    #2ECBC6

    oklch(76.5% 0.123 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9BEB

    #CC9BEB

    oklch(76.4% 0.123 311.7)

  • #F49773

    #F49773

    oklch(76.4% 0.123 41.8)

  • #95C26E

    #95C26E

    oklch(76.2% 0.122 131.7)

  • #41C3EA

    #41C3EA

    oklch(76.3% 0.123 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 #CC9BEB, closest first.

Similar named colors

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

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