#CCA2EF

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.116 308.8), rgb(204, 162, 239).

Aa

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

About this color

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

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

Values

HEX#CCA2EF
RGBrgb(204, 162, 239)
HSLhsl(273, 71%, 79%)
OKLCHoklch(77.8% 0.116 308.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 #CCA2EF 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #CCA2EF 9.98:1 AAA Lc 62.8 Content text, not long reading
#CCA2EF text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#CCA2EF text on black 9.98:1 AAA Lc -61.1 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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E5CEFA

    oklch(88.4% 0.064 308.6)

  4. Step 300

    300 (this color)

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  5. Step 400

    400

    #C27BF7

    oklch(70.7% 0.186 308.8)

  6. Step 500

    500

    #B351F3

    oklch(63.2% 0.236 308.9)

  7. Step 600

    600

    #9F27E1

    oklch(55.6% 0.257 309.1)

  8. Step 700

    700

    #8813C4

    oklch(49.2% 0.24 308.9)

  9. Step 800

    800

    #6E189E

    oklch(42.7% 0.197 308.9)

  10. Step 900

    900

    #591E7E

    oklch(37.7% 0.155 308.7)

  11. Step 950

    950

    #34144A

    oklch(27% 0.098 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#CCA2EF 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)#94B1F20.082
Deuteranopia (no green cones)#9DB3ED0.075
Tritanopia (no blue cones)#C8ADBE0.085
Achromatopsia (no color)#B3B3B30.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA2EF

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  • #A0C574

    #A0C574

    oklch(77.7% 0.115 128.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA2EF

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  • #A6AFFF

    #A6AFFF

    oklch(77.8% 0.114 278.5)

  • #E799CF

    #E799CF

    oklch(77.7% 0.115 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCA2EF

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  • #C9B85B

    #C9B85B

    oklch(77.8% 0.116 99.1)

  • #70CD9B

    #70CD9B

    oklch(77.7% 0.115 158.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA2EF

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  • #E7A860

    #E7A860

    oklch(77.7% 0.116 68.3)

  • #47CEC5

    #47CEC5

    oklch(77.7% 0.116 188.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA2EF

    #CCA2EF

    oklch(77.8% 0.116 308.8)

  • #F69C7F

    #F69C7F

    oklch(77.7% 0.116 38.6)

  • #A0C574

    #A0C574

    oklch(77.7% 0.115 128.8)

  • #4EC8E8

    #4EC8E8

    oklch(77.7% 0.116 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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