#CCA5EF

Closest named color: Lilac (#CEA2FD). oklch(78.3% 0.111 308.1), rgb(204, 165, 239).

Aa

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

About this color

#CCA5EF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.111 and its hue 308°. 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 10.19:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.19:1
White text2.05:1

Values

HEX#CCA5EF
RGBrgb(204, 165, 239)
HSLhsl(272, 70%, 79%)
OKLCHoklch(78.3% 0.111 308.1)

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 #CCA5EF 2.05:1 Fails Lc -44.7 Non-text elements, placeholder text
Black text on #CCA5EF 10.19:1 AAA Lc 63.8 Content text, not long reading
#CCA5EF text on white 2.05:1 Fails Lc 40.1 Non-text elements, placeholder text
#CCA5EF text on black 10.19:1 AAA Lc -62.2 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

    #F0E5FB

    oklch(93.7% 0.032 308.1)

  3. Step 200

    200

    #E4CFF9

    oklch(88.5% 0.061 307.7)

  4. Step 300

    300 (this color)

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  5. Step 400

    400

    #BF7EF4

    oklch(70.7% 0.176 307.9)

  6. Step 500

    500

    #B055F0

    oklch(63.1% 0.227 308.2)

  7. Step 600

    600

    #9B30DE

    oklch(55.5% 0.246 307.9)

  8. Step 700

    700

    #851FC1

    oklch(49.1% 0.229 308)

  9. Step 800

    800

    #6C1E9C

    oklch(42.7% 0.19 308.1)

  10. Step 900

    900

    #57227C

    oklch(37.7% 0.147 307.7)

  11. Step 950

    950

    #331549

    oklch(26.9% 0.095 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#CCA5EF 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)#97B3F20.077
Deuteranopia (no green cones)#9FB5ED0.072
Tritanopia (no blue cones)#C8AFC00.081
Achromatopsia (no color)#B5B5B50.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA5EF

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  • #A4C678

    #A4C678

    oklch(78.3% 0.11 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA5EF

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  • #A8B1FF

    #A8B1FF

    oklch(78.3% 0.111 278.4)

  • #E79CD1

    #E79CD1

    oklch(78.3% 0.112 338.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCA5EF

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  • #CBB961

    #CBB961

    oklch(78.3% 0.111 98)

  • #77CE9D

    #77CE9D

    oklch(78.3% 0.111 157.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA5EF

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  • #E7AB67

    #E7AB67

    oklch(78.3% 0.111 68.5)

  • #52CFC5

    #52CFC5

    oklch(78.2% 0.111 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA5EF

    #CCA5EF

    oklch(78.3% 0.111 308.1)

  • #F69F84

    #F69F84

    oklch(78.3% 0.111 38)

  • #A4C678

    #A4C678

    oklch(78.3% 0.11 127.9)

  • #57C9E7

    #57C9E7

    oklch(78.2% 0.11 218.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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