#CC9FFE

Closest named color: Pastel Purple (#CAA0FF). oklch(77.9% 0.139 305.2), rgb(204, 159, 254).

Aa

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

About this color

#CC9FFE is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.139 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.004 away. Black text reads best on it, at 9.95:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.95:1
White text2.10:1

Values

HEX#CC9FFE
RGBrgb(204, 159, 254)
HSLhsl(268, 98%, 81%)
OKLCHoklch(77.9% 0.139 305.2)

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 #CC9FFE 2.10:1 Fails Lc -45.8 Large or bold text, headings
Black text on #CC9FFE 9.95:1 AAA Lc 62.7 Content text, not long reading
#CC9FFE text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#CC9FFE text on black 9.95:1 AAA Lc -61.1 Content text, not long reading

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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FF

    oklch(93.6% 0.038 305.7)

  3. Step 200

    200

    #E4CEFF

    oklch(88.5% 0.07 305.4)

  4. Step 300

    300 (this color)

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  5. Step 400

    400

    #BD7BFF

    oklch(70.6% 0.193 305.1)

  6. Step 500

    500

    #AE4DFF

    oklch(63% 0.251 305.1)

  7. Step 600

    600

    #9D00F5

    oklch(55.6% 0.289 305.1)

  8. Step 700

    700

    #8400D0

    oklch(49.1% 0.255 304.9)

  9. Step 800

    800

    #6D00AC

    oklch(42.7% 0.221 305.2)

  10. Step 900

    900

    #5A0C8D

    oklch(37.7% 0.185 305.4)

  11. Step 950

    950

    #340D53

    oklch(26.9% 0.118 304.7)

Export this scale for Tailwind in the Tailwind colors tool

#CC9FFE 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)#8AB1FF0.095
Deuteranopia (no green cones)#94B3FB0.088
Tritanopia (no blue cones)#C4AEC30.105
Achromatopsia (no color)#B2B2B20.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9FFE

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  • #A2C65D

    #A2C65D

    oklch(77.8% 0.139 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9FFE

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  • #A2B1FF

    #A2B1FF

    oklch(77.9% 0.113 275.1)

  • #ED93DA

    #ED93DA

    oklch(77.8% 0.14 335)

Open the analogous palette in the generator

Split complementary

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

  • #CC9FFE

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  • #D3B53C

    #D3B53C

    oklch(77.8% 0.139 94.8)

  • #63D190

    #63D190

    oklch(77.9% 0.139 155.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9FFE

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  • #F3A34C

    #F3A34C

    oklch(77.9% 0.139 65.3)

  • #00D3C3

    #00D3C3

    oklch(78% 0.137 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9FFE

    #CC9FFE

    oklch(77.9% 0.139 305.2)

  • #FF977C

    #FF977C

    oklch(77.9% 0.131 35.4)

  • #A2C65D

    #A2C65D

    oklch(77.8% 0.139 125.2)

  • #00CCEE

    #00CCEE

    oklch(77.8% 0.138 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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