#CCA0FC

Closest named color: Pastel Purple (#CAA0FF). oklch(78% 0.135 305.5), rgb(204, 160, 252).

Aa

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

About this color

#CCA0FC is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.135 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.005 away. Black text reads best on it, at 10.00:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text10.00:1
White text2.09:1

Values

HEX#CCA0FC
RGBrgb(204, 160, 252)
HSLhsl(269, 94%, 81%)
OKLCHoklch(78% 0.135 305.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 #CCA0FC 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #CCA0FC 10.00:1 AAA Lc 62.9 Content text, not long reading
#CCA0FC text on white 2.09:1 Fails Lc 41.0 Non-text elements, placeholder text
#CCA0FC text on black 10.00:1 AAA Lc -61.3 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)

    #CCA0FC

    oklch(78% 0.135 305.5)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #AF4DFF

    oklch(63.1% 0.252 305.4)

  7. Step 600

    600

    #9E00F4

    oklch(55.6% 0.288 305.7)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6D00AC

    oklch(42.7% 0.221 305.2)

  10. Step 900

    900

    #59118B

    oklch(37.7% 0.18 305.2)

  11. Step 950

    950

    #340F51

    oklch(27% 0.113 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#CCA0FC 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)#8CB1FF0.092
Deuteranopia (no green cones)#95B3F90.086
Tritanopia (no blue cones)#C5AEC20.102
Achromatopsia (no color)#B3B3B30.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA0FC

    #CCA0FC

    oklch(78% 0.135 305.5)

  • #A3C661

    #A3C661

    oklch(77.9% 0.135 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA0FC

    #CCA0FC

    oklch(78% 0.135 305.5)

  • #A3B1FF

    #A3B1FF

    oklch(77.9% 0.113 275.7)

  • #ED95D9

    #ED95D9

    oklch(78.1% 0.135 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCA0FC

    #CCA0FC

    oklch(78% 0.135 305.5)

  • #D2B643

    #D2B643

    oklch(78% 0.135 95.3)

  • #66D192

    #66D192

    oklch(78.1% 0.135 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA0FC

    #CCA0FC

    oklch(78% 0.135 305.5)

  • #F2A450

    #F2A450

    oklch(78% 0.135 65.4)

  • #13D3C3

    #13D3C3

    oklch(78% 0.135 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA0FC

    #CCA0FC

    oklch(78% 0.135 305.5)

  • #FF977C

    #FF977C

    oklch(77.9% 0.131 35.4)

  • #A3C661

    #A3C661

    oklch(77.9% 0.135 125.2)

  • #18CCED

    #18CCED

    oklch(77.9% 0.135 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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