#CCA5EB

Closest named color: Pale Violet (#CEAEFA). oklch(78.1% 0.106 309.5), rgb(204, 165, 235).

Aa

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

About this color

#CCA5EB is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.106 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.027 away. Black text reads best on it, at 10.14:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.14:1
White text2.06:1

Values

HEX#CCA5EB
RGBrgb(204, 165, 235)
HSLhsl(273, 64%, 78%)
OKLCHoklch(78.1% 0.106 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 #CCA5EB 2.06:1 Fails Lc -44.9 Non-text elements, placeholder text
Black text on #CCA5EB 10.14:1 AAA Lc 63.6 Content text, not long reading
#CCA5EB text on white 2.06:1 Fails Lc 40.3 Non-text elements, placeholder text
#CCA5EB text on black 10.14:1 AAA Lc -62.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

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E5CFF7

    oklch(88.5% 0.059 309.8)

  4. Step 300

    300 (this color)

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  5. Step 400

    400

    #C07FEF

    oklch(70.7% 0.169 309.5)

  6. Step 500

    500

    #B058E9

    oklch(63% 0.216 309.5)

  7. Step 600

    600

    #9C35D7

    oklch(55.6% 0.235 309.6)

  8. Step 700

    700

    #8525BB

    oklch(49.1% 0.219 309.3)

  9. Step 800

    800

    #6C2297

    oklch(42.7% 0.181 309.4)

  10. Step 900

    900

    #582478

    oklch(37.8% 0.14 309.7)

  11. Step 950

    950

    #331646

    oklch(26.9% 0.089 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#CCA5EB 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)#99B2EE0.074
Deuteranopia (no green cones)#A1B5E90.070
Tritanopia (no blue cones)#C8AEBE0.076
Achromatopsia (no color)#B4B4B40.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA5EB

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  • #A2C57C

    #A2C57C

    oklch(78% 0.105 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA5EB

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  • #AAB1FB

    #AAB1FB

    oklch(78.3% 0.106 279.5)

  • #E59DCE

    #E59DCE

    oklch(78.1% 0.106 339.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCA5EB

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  • #C8B966

    #C8B966

    oklch(78.1% 0.106 99.3)

  • #78CDA0

    #78CDA0

    oklch(78.2% 0.106 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA5EB

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  • #E4AB6A

    #E4AB6A

    oklch(78.1% 0.106 68.9)

  • #59CDC6

    #59CDC6

    oklch(78% 0.105 189.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA5EB

    #CCA5EB

    oklch(78.1% 0.106 309.5)

  • #F2A084

    #F2A084

    oklch(78% 0.106 39.6)

  • #A2C57C

    #A2C57C

    oklch(78% 0.105 129.4)

  • #5EC8E6

    #5EC8E6

    oklch(78.2% 0.106 219.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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