#CCA7EF

Closest named color: Pale Violet (#CEAEFA). oklch(78.6% 0.107 307.5), rgb(204, 167, 239).

Aa

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

About this color

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

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

Values

HEX#CCA7EF
RGBrgb(204, 167, 239)
HSLhsl(271, 69%, 80%)
OKLCHoklch(78.6% 0.107 307.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 #CCA7EF 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #CCA7EF 10.34:1 AAA Lc 64.5 Content text, not long reading
#CCA7EF text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#CCA7EF text on black 10.34:1 AAA Lc -62.9 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

    #E4CFF8

    oklch(88.5% 0.06 308.2)

  4. Step 300

    300 (this color)

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  5. Step 400

    400

    #BE80F2

    oklch(70.8% 0.171 307.7)

  6. Step 500

    500

    #AE59ED

    oklch(63.2% 0.218 307.7)

  7. Step 600

    600

    #9935DC

    oklch(55.6% 0.239 307.4)

  8. Step 700

    700

    #8325BF

    oklch(49.2% 0.222 307.4)

  9. Step 800

    800

    #6A229A

    oklch(42.6% 0.183 307.4)

  10. Step 900

    900

    #56247B

    oklch(37.7% 0.143 307.2)

  11. Step 950

    950

    #321648

    oklch(26.9% 0.091 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCA7EF 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)#9AB4F20.073
Deuteranopia (no green cones)#A1B6ED0.068
Tritanopia (no blue cones)#C7B1C10.079
Achromatopsia (no color)#B6B6B60.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCA7EF

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  • #A6C77B

    #A6C77B

    oklch(78.7% 0.107 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCA7EF

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  • #A9B3FE

    #A9B3FE

    oklch(78.7% 0.107 277.8)

  • #E69FD2

    #E69FD2

    oklch(78.7% 0.106 337.4)

Open the analogous palette in the generator

Split complementary

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

  • #CCA7EF

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  • #CCBA66

    #CCBA66

    oklch(78.6% 0.107 97.5)

  • #7BCE9F

    #7BCE9F

    oklch(78.6% 0.106 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCA7EF

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  • #E7AC6C

    #E7AC6C

    oklch(78.6% 0.107 67.5)

  • #59D0C6

    #59D0C6

    oklch(78.7% 0.108 187.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCA7EF

    #CCA7EF

    oklch(78.6% 0.107 307.5)

  • #F5A187

    #F5A187

    oklch(78.6% 0.107 37.9)

  • #A6C77B

    #A6C77B

    oklch(78.7% 0.107 127.8)

  • #5DCAE7

    #5DCAE7

    oklch(78.6% 0.107 218)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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