#CC9FEF

Closest named color: Baby Purple (#CA9BF7). oklch(77.2% 0.121 309.5), rgb(204, 159, 239).

Aa

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

About this color

#CC9FEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.121 and its hue 310°. 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.77:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.77:1
White text2.14:1

Values

HEX#CC9FEF
RGBrgb(204, 159, 239)
HSLhsl(274, 71%, 78%)
OKLCHoklch(77.2% 0.121 309.5)

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 #CC9FEF 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #CC9FEF 9.77:1 AAA Lc 61.8 Content text, not long reading
#CC9FEF text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#CC9FEF text on black 9.77:1 AAA Lc -60.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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E6CEFB

    oklch(88.5% 0.066 309)

  4. Step 300

    300 (this color)

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  5. Step 400

    400

    #C478F9

    oklch(70.6% 0.193 309.5)

  6. Step 500

    500

    #B64BF6

    oklch(63.1% 0.247 309.7)

  7. Step 600

    600

    #A21BE5

    oklch(55.7% 0.268 309.6)

  8. Step 700

    700

    #8A00C7

    oklch(49.1% 0.249 309.3)

  9. Step 800

    800

    #700FA1

    oklch(42.7% 0.206 309.3)

  10. Step 900

    900

    #5B1A80

    oklch(37.7% 0.162 309.5)

  11. Step 950

    950

    #35124B

    oklch(27% 0.103 309.3)

Export this scale for Tailwind in the Tailwind colors tool

#CC9FEF 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)#90AFF20.088
Deuteranopia (no green cones)#9AB2ED0.081
Tritanopia (no blue cones)#C8AABC0.088
Achromatopsia (no color)#B1B1B10.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC9FEF

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  • #9CC46F

    #9CC46F

    oklch(77.2% 0.121 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC9FEF

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  • #A5ACFF

    #A5ACFF

    oklch(77.1% 0.119 279.5)

  • #E896CE

    #E896CE

    oklch(77.3% 0.121 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #CC9FEF

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  • #C8B654

    #C8B654

    oklch(77.2% 0.12 99)

  • #68CC99

    #68CC99

    oklch(77.1% 0.121 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC9FEF

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  • #E6A659

    #E6A659

    oklch(77.1% 0.12 69.4)

  • #3ACDC5

    #3ACDC5

    oklch(77.2% 0.12 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC9FEF

    #CC9FEF

    oklch(77.2% 0.121 309.5)

  • #F6997A

    #F6997A

    oklch(77.1% 0.12 39.2)

  • #9CC46F

    #9CC46F

    oklch(77.2% 0.121 129.5)

  • #45C7E9

    #45C7E9

    oklch(77.3% 0.12 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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