#CCA1FA

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.131 305.8), rgb(204, 161, 250).

Aa

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

About this color

#CCA1FA is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.131 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.006 away. Black text reads best on it, at 10.04:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.04:1
White text2.09:1

Values

HEX#CCA1FA
RGBrgb(204, 161, 250)
HSLhsl(269, 90%, 81%)
OKLCHoklch(78.1% 0.131 305.8)

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 #CCA1FA 2.09:1 Fails Lc -45.4 Large or bold text, headings
Black text on #CCA1FA 10.04:1 AAA Lc 63.2 Content text, not long reading
#CCA1FA text on white 2.09:1 Fails Lc 40.8 Non-text elements, placeholder text
#CCA1FA text on black 10.04:1 AAA Lc -61.5 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)

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04CFF

    oklch(63.1% 0.253 305.8)

  7. Step 600

    600

    #9E00F4

    oklch(55.6% 0.288 305.7)

  8. Step 700

    700

    #8500CE

    oklch(49% 0.254 305.8)

  9. Step 800

    800

    #6E00AB

    oklch(42.7% 0.221 305.9)

  10. Step 900

    900

    #591588

    oklch(37.7% 0.174 305.9)

  11. Step 950

    950

    #341050

    oklch(27% 0.111 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#CCA1FA 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)#8EB2FD0.090
Deuteranopia (no green cones)#97B4F70.084
Tritanopia (no blue cones)#C5AEC20.098
Achromatopsia (no color)#B3B3B30.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA1FA

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  • #A3C665

    #A3C665

    oklch(78% 0.131 125.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA1FA

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  • #A4B1FF

    #A4B1FF

    oklch(78% 0.112 276.2)

  • #EC96D8

    #EC96D8

    oklch(78.1% 0.132 335.7)

Open the analogous palette in the generator

Split complementary

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

  • #CCA1FA

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  • #D1B749

    #D1B749

    oklch(78.1% 0.131 95.9)

  • #69D094

    #69D094

    oklch(78% 0.13 156.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA1FA

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  • #F0A555

    #F0A555

    oklch(78% 0.131 65.5)

  • #27D2C4

    #27D2C4

    oklch(78% 0.131 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA1FA

    #CCA1FA

    oklch(78.1% 0.131 305.8)

  • #FF987C

    #FF987C

    oklch(78.1% 0.13 36)

  • #A3C665

    #A3C665

    oklch(78% 0.131 125.6)

  • #2ACCEC

    #2ACCEC

    oklch(78.1% 0.131 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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