#CCA4EC

Closest named color: Lilac (#CEA2FD). oklch(78% 0.109 309.4), rgb(204, 164, 236).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.08:1
White text2.08:1

Values

HEX#CCA4EC
RGBrgb(204, 164, 236)
HSLhsl(273, 65%, 78%)
OKLCHoklch(78% 0.109 309.4)

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 #CCA4EC 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #CCA4EC 10.08:1 AAA Lc 63.3 Content text, not long reading
#CCA4EC text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#CCA4EC text on black 10.08:1 AAA Lc -61.7 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E5CFF8

    oklch(88.5% 0.06 309.2)

  4. Step 300

    300 (this color)

    #CCA4EC

    oklch(78% 0.109 309.4)

  5. Step 400

    400

    #C17EF1

    oklch(70.7% 0.174 309.5)

  6. Step 500

    500

    #B156EC

    oklch(63.1% 0.222 309.3)

  7. Step 600

    600

    #9D32DA

    oklch(55.7% 0.241 309.4)

  8. Step 700

    700

    #8621BD

    oklch(49.1% 0.224 309.4)

  9. Step 800

    800

    #6D1F99

    oklch(42.7% 0.186 309.5)

  10. Step 900

    900

    #58227A

    oklch(37.7% 0.145 309.2)

  11. Step 950

    950

    #341647

    oklch(27.1% 0.091 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#CCA4EC 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)#97B2EF0.077
Deuteranopia (no green cones)#A0B4EA0.071
Tritanopia (no blue cones)#C8AEBE0.079
Achromatopsia (no color)#B4B4B40.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA4EC

    #CCA4EC

    oklch(78% 0.109 309.4)

  • #A1C57A

    #A1C57A

    oklch(77.9% 0.108 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA4EC

    #CCA4EC

    oklch(78% 0.109 309.4)

  • #A9B0FC

    #A9B0FC

    oklch(78% 0.108 279.5)

  • #E69CCE

    #E69CCE

    oklch(78% 0.109 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCA4EC

    #CCA4EC

    oklch(78% 0.109 309.4)

  • #C8B963

    #C8B963

    oklch(78% 0.109 99.6)

  • #75CD9F

    #75CD9F

    oklch(78% 0.109 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA4EC

    #CCA4EC

    oklch(78% 0.109 309.4)

  • #E4AB67

    #E4AB67

    oklch(78% 0.108 70)

  • #54CEC6

    #54CEC6

    oklch(78.1% 0.109 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA4EC

    #CCA4EC

    oklch(78% 0.109 309.4)

  • #F39F83

    #F39F83

    oklch(78% 0.108 39.2)

  • #A1C57A

    #A1C57A

    oklch(77.9% 0.108 129.5)

  • #5AC8E7

    #5AC8E7

    oklch(78.1% 0.109 219.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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