#CC99ED

Closest named color: Baby Purple (#CA9BF7). oklch(76.1% 0.129 311.4), rgb(204, 153, 237).

Aa

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

About this color

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

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

Values

HEX#CC99ED
RGBrgb(204, 153, 237)
HSLhsl(276, 70%, 76%)
OKLCHoklch(76.1% 0.129 311.4)

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 #CC99ED 2.24:1 Fails Lc -49.0 Large or bold text, headings
Black text on #CC99ED 9.34:1 AAA Lc 59.8 Large or bold text, headings
#CC99ED text on white 2.24:1 Fails Lc 44.2 Non-text elements, placeholder text
#CC99ED text on black 9.34:1 AAA Lc -58.0 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

    #E9CCFC

    oklch(88.5% 0.072 311.9)

  4. Step 300

    300 (this color)

    #CC99ED

    oklch(76.1% 0.129 311.4)

  5. Step 400

    400

    #CA73FC

    oklch(70.7% 0.206 311.6)

  6. Step 500

    500

    #BC41FA

    oklch(63.2% 0.263 311.4)

  7. Step 600

    600

    #A700E6

    oklch(55.7% 0.279 311.5)

  8. Step 700

    700

    #8D00C3

    oklch(49.2% 0.247 311.4)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #5E1382

    oklch(37.7% 0.171 311)

  11. Step 950

    950

    #370F4C

    oklch(27% 0.109 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#CC99ED 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)#8AAAF00.097
Deuteranopia (no green cones)#96AEEB0.089
Tritanopia (no blue cones)#C9A5B80.092
Achromatopsia (no color)#ADADAD0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC99ED

    #CC99ED

    oklch(76.1% 0.129 311.4)

  • #94C269

    #94C269

    oklch(76.1% 0.128 131.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC99ED

    #CC99ED

    oklch(76.1% 0.129 311.4)

  • #A4A7FF

    #A4A7FF

    oklch(76.1% 0.126 281.5)

  • #E890C9

    #E890C9

    oklch(76.1% 0.127 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #CC99ED

    #CC99ED

    oklch(76.1% 0.129 311.4)

  • #C3B448

    #C3B448

    oklch(76.2% 0.129 101.4)

  • #59CA97

    #59CA97

    oklch(76% 0.128 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC99ED

    #CC99ED

    oklch(76.1% 0.129 311.4)

  • #E4A34B

    #E4A34B

    oklch(76.2% 0.129 71.8)

  • #15CBC5

    #15CBC5

    oklch(76.2% 0.129 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC99ED

    #CC99ED

    oklch(76.1% 0.129 311.4)

  • #F6946F

    #F6946F

    oklch(76.1% 0.129 41.3)

  • #94C269

    #94C269

    oklch(76.1% 0.128 131.2)

  • #33C3EB

    #33C3EB

    oklch(76.1% 0.129 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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