#CCA7EC

Closest named color: Pale Violet (#CEAEFA). oklch(78.5% 0.104 308.6), rgb(204, 167, 236).

Aa

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

About this color

#CCA7EC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.104 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.023 away. Black text reads best on it, at 10.30:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.30:1
White text2.03:1

Values

HEX#CCA7EC
RGBrgb(204, 167, 236)
HSLhsl(272, 64%, 79%)
OKLCHoklch(78.5% 0.104 308.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 #CCA7EC 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #CCA7EC 10.30:1 AAA Lc 64.3 Content text, not long reading
#CCA7EC text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#CCA7EC text on black 10.30:1 AAA Lc -62.7 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

    #EFE5FA

    oklch(93.6% 0.03 307.1)

  3. Step 200

    200

    #E4CFF7

    oklch(88.4% 0.059 308.8)

  4. Step 300

    300 (this color)

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  5. Step 400

    400

    #BE80EE

    oklch(70.6% 0.166 308.7)

  6. Step 500

    500

    #AE5BE9

    oklch(63.2% 0.211 308.5)

  7. Step 600

    600

    #9A39D7

    oklch(55.7% 0.23 308.6)

  8. Step 700

    700

    #8329BA

    oklch(49.1% 0.214 308.5)

  9. Step 800

    800

    #6B2597

    oklch(42.8% 0.177 308.6)

  10. Step 900

    900

    #562578

    oklch(37.7% 0.138 308.2)

  11. Step 950

    950

    #331746

    oklch(27% 0.087 309.2)

Export this scale for Tailwind in the Tailwind colors tool

#CCA7EC 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)#9BB4EF0.071
Deuteranopia (no green cones)#A2B6EA0.067
Tritanopia (no blue cones)#C8B0C00.075
Achromatopsia (no color)#B6B6B60.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA7EC

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  • #A5C67E

    #A5C67E

    oklch(78.5% 0.103 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA7EC

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  • #AAB2FB

    #AAB2FB

    oklch(78.4% 0.104 278.9)

  • #E59FD0

    #E59FD0

    oklch(78.5% 0.104 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #CCA7EC

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  • #CABA69

    #CABA69

    oklch(78.5% 0.104 98.4)

  • #7CCEA0

    #7CCEA0

    oklch(78.6% 0.105 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA7EC

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  • #E5AD6E

    #E5AD6E

    oklch(78.6% 0.104 68.6)

  • #5ECEC6

    #5ECEC6

    oklch(78.4% 0.103 188.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA7EC

    #CCA7EC

    oklch(78.5% 0.104 308.6)

  • #F3A288

    #F3A288

    oklch(78.6% 0.104 38.5)

  • #A5C67E

    #A5C67E

    oklch(78.5% 0.103 128.6)

  • #62C9E6

    #62C9E6

    oklch(78.5% 0.104 218.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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