#CCA2EA

Closest named color: Lilac (#CEA2FD). oklch(77.5% 0.11 310.6), rgb(204, 162, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.92:1
White text2.11:1

Values

HEX#CCA2EA
RGBrgb(204, 162, 234)
HSLhsl(275, 63%, 78%)
OKLCHoklch(77.5% 0.11 310.6)

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 #CCA2EA 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #CCA2EA 9.92:1 AAA Lc 62.5 Content text, not long reading
#CCA2EA text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#CCA2EA text on black 9.92:1 AAA Lc -60.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E6CEF8

    oklch(88.4% 0.062 310.7)

  4. Step 300

    300 (this color)

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  5. Step 400

    400

    #C37DF0

    oklch(70.8% 0.175 310.7)

  6. Step 500

    500

    #B354EB

    oklch(63% 0.225 310.5)

  7. Step 600

    600

    #9F2FD9

    oklch(55.6% 0.243 310.6)

  8. Step 700

    700

    #881EBC

    oklch(49.1% 0.226 310.6)

  9. Step 800

    800

    #6E1E98

    oklch(42.7% 0.187 310.4)

  10. Step 900

    900

    #592179

    oklch(37.6% 0.146 310.4)

  11. Step 950

    950

    #341547

    oklch(26.9% 0.093 310.2)

Export this scale for Tailwind in the Tailwind colors tool

#CCA2EA 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)#96B0ED0.079
Deuteranopia (no green cones)#9FB3E80.074
Tritanopia (no blue cones)#C9ACBC0.079
Achromatopsia (no color)#B2B2B20.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA2EA

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  • #9EC479

    #9EC479

    oklch(77.5% 0.109 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA2EA

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  • #A9AEFB

    #A9AEFB

    oklch(77.6% 0.11 280.6)

  • #E59ACB

    #E59ACB

    oklch(77.5% 0.109 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #CCA2EA

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  • #C5B861

    #C5B861

    oklch(77.5% 0.11 100.9)

  • #71CC9F

    #71CC9F

    oklch(77.6% 0.11 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA2EA

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  • #E2AA64

    #E2AA64

    oklch(77.6% 0.109 71.2)

  • #50CCC6

    #50CCC6

    oklch(77.5% 0.109 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA2EA

    #CCA2EA

    oklch(77.5% 0.11 310.6)

  • #F29E7F

    #F29E7F

    oklch(77.6% 0.11 41)

  • #9EC479

    #9EC479

    oklch(77.5% 0.109 130.5)

  • #58C6E7

    #58C6E7

    oklch(77.5% 0.11 220.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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