#CCA4FE

Closest named color: Lilac (#CEA2FD). oklch(78.8% 0.131 304), rgb(204, 164, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.30:1
White text2.03:1

Values

HEX#CCA4FE
RGBrgb(204, 164, 254)
HSLhsl(267, 98%, 82%)
OKLCHoklch(78.8% 0.131 304)

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 #CCA4FE 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #CCA4FE 10.30:1 AAA Lc 64.4 Content text, not long reading
#CCA4FE text on white 2.03:1 Fails Lc 39.5 Non-text elements, placeholder text
#CCA4FE text on black 10.30:1 AAA Lc -62.8 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

    #EFE4FF

    oklch(93.6% 0.038 304.1)

  3. Step 200

    200

    #E3CFFF

    oklch(88.6% 0.068 304)

  4. Step 300

    300 (this color)

    #CCA4FE

    oklch(78.8% 0.131 304)

  5. Step 400

    400

    #BB7DFF

    oklch(70.7% 0.19 304)

  6. Step 500

    500

    #AC50FF

    oklch(63.1% 0.248 304.2)

  7. Step 600

    600

    #9B00F8

    oklch(55.6% 0.29 303.9)

  8. Step 700

    700

    #8300D2

    oklch(49.1% 0.256 304.1)

  9. Step 800

    800

    #6C00AE

    oklch(42.7% 0.223 304.2)

  10. Step 900

    900

    #57168A

    oklch(37.7% 0.175 304)

  11. Step 950

    950

    #331151

    oklch(27.1% 0.111 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCA4FE 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)#90B5FF0.087
Deuteranopia (no green cones)#98B6FC0.081
Tritanopia (no blue cones)#C4B2C50.101
Achromatopsia (no color)#B6B6B60.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA4FE

    #CCA4FE

    oklch(78.8% 0.131 304)

  • #A8C865

    #A8C865

    oklch(78.8% 0.131 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA4FE

    #CCA4FE

    oklch(78.8% 0.131 304)

  • #A4B5FF

    #A4B5FF

    oklch(78.8% 0.107 273.8)

  • #ED99DC

    #ED99DC

    oklch(78.8% 0.131 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCA4FE

    #CCA4FE

    oklch(78.8% 0.131 304)

  • #D5B84B

    #D5B84B

    oklch(78.7% 0.131 94.2)

  • #6FD293

    #6FD293

    oklch(78.7% 0.131 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA4FE

    #CCA4FE

    oklch(78.8% 0.131 304)

  • #F4A759

    #F4A759

    oklch(78.9% 0.131 64.2)

  • #2FD5C3

    #2FD5C3

    oklch(78.9% 0.131 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA4FE

    #CCA4FE

    oklch(78.8% 0.131 304)

  • #FF9B84

    #FF9B84

    oklch(78.7% 0.125 33.8)

  • #A8C865

    #A8C865

    oklch(78.8% 0.131 124.1)

  • #2BCFED

    #2BCFED

    oklch(78.8% 0.131 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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