#CCA2ED

Closest named color: Lilac (#CEA2FD). oklch(77.7% 0.113 309.5), rgb(204, 162, 237).

Aa

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

About this color

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

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

Values

HEX#CCA2ED
RGBrgb(204, 162, 237)
HSLhsl(274, 68%, 78%)
OKLCHoklch(77.7% 0.113 309.5)

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 #CCA2ED 2.10:1 Fails Lc -45.9 Large or bold text, headings
Black text on #CCA2ED 9.95:1 AAA Lc 62.7 Content text, not long reading
#CCA2ED text on white 2.10:1 Fails Lc 41.2 Non-text elements, placeholder text
#CCA2ED text on black 9.95:1 AAA Lc -61.0 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

    #F0E4FB

    oklch(93.5% 0.033 309)

  3. Step 200

    200

    #E6CEF9

    oklch(88.5% 0.063 310.1)

  4. Step 300

    300 (this color)

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  5. Step 400

    400

    #C27CF4

    oklch(70.7% 0.181 309.4)

  6. Step 500

    500

    #B352F0

    oklch(63.1% 0.232 309.5)

  7. Step 600

    600

    #9F2ADE

    oklch(55.6% 0.252 309.6)

  8. Step 700

    700

    #8818C1

    oklch(49.1% 0.234 309.5)

  9. Step 800

    800

    #6E1A9C

    oklch(42.7% 0.194 309.4)

  10. Step 900

    900

    #591F7C

    oklch(37.6% 0.151 309.4)

  11. Step 950

    950

    #341449

    oklch(26.9% 0.097 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCA2ED 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)#95B1F00.081
Deuteranopia (no green cones)#9EB3EB0.075
Tritanopia (no blue cones)#C8ACBD0.082
Achromatopsia (no color)#B2B2B20.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA2ED

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  • #9FC576

    #9FC576

    oklch(77.7% 0.113 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA2ED

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  • #A7AEFE

    #A7AEFE

    oklch(77.6% 0.114 279.5)

  • #E799CE

    #E799CE

    oklch(77.6% 0.115 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCA2ED

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  • #C8B85D

    #C8B85D

    oklch(77.7% 0.114 99.5)

  • #70CD9D

    #70CD9D

    oklch(77.8% 0.114 159.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA2ED

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  • #E5A962

    #E5A962

    oklch(77.7% 0.113 69.5)

  • #4BCDC6

    #4BCDC6

    oklch(77.6% 0.113 190)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA2ED

    #CCA2ED

    oklch(77.7% 0.113 309.5)

  • #F49D7F

    #F49D7F

    oklch(77.7% 0.113 39.8)

  • #9FC576

    #9FC576

    oklch(77.7% 0.113 129.6)

  • #52C7E8

    #52C7E8

    oklch(77.6% 0.114 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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